[mupen64plus-video-z64] 01/01: Don't create empty directory for shared data files

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Wed Dec 30 23:11:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

ecsv-guest pushed a commit to branch master
in repository mupen64plus-video-z64.

commit e13a02263cf1ded88a58ea45555065b2393c851c
Author: Sven Eckelmann <sven at narfation.org>
Date:   Thu Dec 31 00:10:30 2015 +0100

    Don't create empty directory for shared data files
---
 debian/changelog                                   |  3 ++
 ...ate-empty-directory-for-shared-data-files.patch | 38 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 42 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ac4a13a..624201c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ mupen64plus-video-z64 (2.0.0+13+g72af4f0-4) UNRELEASED; urgency=medium
 
   * debian/control, debian/rules:
      - Drop mupen64plus-video-z64-dbg in favor of -dbgsym package
+  * debian/patches:
+    - Add Don-t-create-empty-directory-for-shared-data-files.patch,
+      Don't create empty directory for shared data files
 
  -- Sven Eckelmann <sven at narfation.org>  Wed, 30 Dec 2015 21:25:18 +0100
 
diff --git a/debian/patches/Don-t-create-empty-directory-for-shared-data-files.patch b/debian/patches/Don-t-create-empty-directory-for-shared-data-files.patch
new file mode 100644
index 0000000..144646f
--- /dev/null
+++ b/debian/patches/Don-t-create-empty-directory-for-shared-data-files.patch
@@ -0,0 +1,38 @@
+From: Sven Eckelmann <sven at narfation.org>
+Date: Thu, 31 Dec 2015 00:09:39 +0100
+Subject: Don't create empty directory for shared data files
+
+---
+ projects/unix/Makefile | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/projects/unix/Makefile b/projects/unix/Makefile
+index 1f62227..bbe92c3 100755
+--- a/projects/unix/Makefile
++++ b/projects/unix/Makefile
+@@ -290,9 +290,6 @@ endif
+ ifeq ($(PREFIX),)
+   PREFIX := /usr/local
+ endif
+-ifeq ($(SHAREDIR),)
+-  SHAREDIR := $(PREFIX)/share/mupen64plus
+-endif
+ ifeq ($(LIBDIR),)
+   LIBDIR := $(PREFIX)/lib
+ endif
+@@ -349,7 +346,6 @@ targets:
+ 	@echo "    POSTFIX=name  == String added to the name of the the build (default: '')"
+ 	@echo "  Install Options:"
+ 	@echo "    PREFIX=path   == install/uninstall prefix (default: /usr/local)"
+-	@echo "    SHAREDIR=path == path to install shared data files (default: PREFIX/share/mupen64plus)"
+ 	@echo "    LIBDIR=path   == library prefix (default: PREFIX/lib)"
+ 	@echo "    PLUGINDIR=path == path to install plugin libraries (default: LIBDIR/mupen64plus)"
+ 	@echo "    DESTDIR=path  == path to prepend to all installation paths (only for packagers)"
+@@ -362,7 +358,6 @@ all: $(TARGET)
+ install: $(TARGET)
+ 	$(INSTALL) -d "$(DESTDIR)$(PLUGINDIR)"
+ 	$(INSTALL) -m 0644 $(INSTALL_STRIP_FLAG) $(TARGET) "$(DESTDIR)$(PLUGINDIR)"
+-	$(INSTALL) -d "$(DESTDIR)$(SHAREDIR)"
+ 
+ uninstall:
+ 	$(RM) "$(DESTDIR)$(PLUGINDIR)/$(TARGET)"
diff --git a/debian/patches/series b/debian/patches/series
index e30990e..b9adc99 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 Add-printf-format-attribute.patch
 Fix-glew-1.12-includes.patch
+Don-t-create-empty-directory-for-shared-data-files.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus-video-z64.git



More information about the Pkg-games-commits mailing list