[SCM] pd-iemnet/master: makefile fix for hurd

zmoelnig-guest at users.alioth.debian.org zmoelnig-guest at users.alioth.debian.org
Mon Dec 6 17:10:05 UTC 2010


The following commit has been merged in the master branch:
commit bf9e30ef0b4684dfa0a2f0686c554615e1ed48bb
Author: IOhannes m zmölnig <zmoelnig at iem.at>
Date:   Mon Dec 6 18:08:53 2010 +0100

    makefile fix for hurd

diff --git a/debian/patches/hurd_fixes.patch b/debian/patches/hurd_fixes.patch
new file mode 100644
index 0000000..deeb6fb
--- /dev/null
+++ b/debian/patches/hurd_fixes.patch
@@ -0,0 +1,25 @@
+Description: allow for Debian GNU/HURD compilation
+Author: IOhannes m zmölnig
+--- pd-iemnet.orig/Makefile
++++ pd-iemnet/Makefile
+@@ -110,6 +110,20 @@
+   DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION)
+   DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m)
+ endif
++ifeq ($(UNAME),GNU)
++  # GNU/Hurd, should work like GNU/Linux for basically all externals
++  CPU := $(shell uname -m)
++  SOURCES += $(SOURCES_linux)
++  EXTENSION = pd_linux
++  OS = linux
++  PD_PATH = /usr
++  OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer
++  CFLAGS += -fPIC
++  LDFLAGS += -Wl,--export-dynamic  -shared -fPIC
++  LIBS += -lc
++  STRIP = strip --strip-unneeded -R .note -R .comment
++  DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m)
++endif
+ ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME)))
+   SOURCES += $(SOURCES_cygwin)
+   EXTENSION = dll
diff --git a/debian/patches/series b/debian/patches/series
index 1d3db58..fdd7ad7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix_makefile.patch
+hurd_fixes.patch

-- 
pd-iemnet packaging



More information about the pkg-multimedia-commits mailing list