summaryrefslogtreecommitdiff
path: root/package/portmap
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-23 20:40:31 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-23 20:40:31 +0100
commitc69912d5e2c55587897bb75de3512082e382abae (patch)
tree10a028f5c1a5327bfa96f93571b7a2e9cf10bc8c /package/portmap
parent43f2f18848bc604723a1f8a94644f77ecb5d9fda (diff)
fix compile error
Diffstat (limited to 'package/portmap')
-rw-r--r--package/portmap/patches/patch-Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/portmap/patches/patch-Makefile b/package/portmap/patches/patch-Makefile
new file mode 100644
index 000000000..63d559ac7
--- /dev/null
+++ b/package/portmap/patches/patch-Makefile
@@ -0,0 +1,12 @@
+--- portmap_6.0.orig/Makefile 2007-05-11 05:02:10.000000000 +0200
++++ portmap_6.0/Makefile 2010-12-19 22:23:02.000000000 +0100
+@@ -125,9 +125,7 @@ CFLAGS += -Wall -Wstrict-prototypes
+ all: portmap pmap_dump pmap_set portmap.man
+
+ CPPFLAGS += $(HOSTS_ACCESS)
+-portmap: CFLAGS += -fpie
+ portmap: LDLIBS += $(WRAP_LIB)
+-portmap: LDFLAGS += -pie
+ portmap: portmap.o pmap_check.o from_local.o
+
+ from_local: CPPFLAGS += -DTEST