blob: 7aa8bd53bccc9679bcea8c03596e2e921c8a0620 [file] [log] [blame]
diff -r -N -u portmap_6.0/Makefile portmap_6.0.N/Makefile
--- portmap_6.0/Makefile 2007-05-10 20:02:10.000000000 -0700
+++ portmap_6.0.N/Makefile 2008-01-22 16:09:21.000000000 -0800
@@ -128,6 +128,7 @@
portmap: CFLAGS += -fpie
portmap: LDLIBS += $(WRAP_LIB)
portmap: LDFLAGS += -pie
+portmap: CPPFLAGS += $(WRAP_INC)
portmap: portmap.o pmap_check.o from_local.o
from_local: CPPFLAGS += -DTEST
@@ -136,12 +137,14 @@
sed $(MAN_SED) < portmap.8 > portmap.man
install: all
- install -o root -g root -m 0755 -s portmap ${BASEDIR}/sbin
- install -o root -g root -m 0755 -s pmap_dump ${BASEDIR}/sbin
- install -o root -g root -m 0755 -s pmap_set ${BASEDIR}/sbin
- install -o root -g root -m 0644 portmap.man ${BASEDIR}/usr/share/man/man8/portmap.8
- install -o root -g root -m 0644 pmap_dump.8 ${BASEDIR}/usr/share/man/man8
- install -o root -g root -m 0644 pmap_set.8 ${BASEDIR}/usr/share/man/man8
+ mkdir -p ${BASEDIR}/sbin
+ install -m 0755 portmap ${BASEDIR}/sbin
+ install -m 0755 pmap_dump ${BASEDIR}/sbin
+ install -m 0755 pmap_set ${BASEDIR}/sbin
+ mkdir -p ${BASEDIR}/usr/share/man/man8
+ install -m 0644 portmap.man ${BASEDIR}/usr/share/man/man8/portmap.8
+ install -m 0644 pmap_dump.8 ${BASEDIR}/usr/share/man/man8
+ install -m 0644 pmap_set.8 ${BASEDIR}/usr/share/man/man8
clean:
rm -f *.o portmap pmap_dump pmap_set from_local \