diff options
author | rillig <rillig@pkgsrc.org> | 2006-11-09 09:33:24 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-11-09 09:33:24 +0000 |
commit | 26ba5f7ae828eeb9a9daf7c723a275b1fa79bca8 (patch) | |
tree | 5db4b08229b3d12e1e10038d8d96b31aca22d08b /net/sup | |
parent | d4fffeee813191fd3c255cb7e3a34b97a4b3f8b1 (diff) | |
download | pkgsrc-26ba5f7ae828eeb9a9daf7c723a275b1fa79bca8.tar.gz |
Fixed the package for unprivileged users.
Diffstat (limited to 'net/sup')
-rw-r--r-- | net/sup/patches/patch-aa | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/net/sup/patches/patch-aa b/net/sup/patches/patch-aa new file mode 100644 index 00000000000..de36886de65 --- /dev/null +++ b/net/sup/patches/patch-aa @@ -0,0 +1,28 @@ +$NetBSD: patch-aa,v 1.1 2006/11/09 09:33:24 rillig Exp $ + +--- Makefile.orig 2006-03-14 23:59:43.000000000 +0100 ++++ Makefile 2006-11-09 10:32:29.000000000 +0100 +@@ -69,8 +69,8 @@ NON_MACH_DEFINES = -UMACH + #INSTALLATION PARAMETERS + PREFIX ?= /usr/local/ + NETBSD_BINDIR = ${PREFIX}/sbin +-NETBSD_MAN1 = ${PREFIX}/man/man1 +-NETBSD_MAN8 = ${PREFIX}/man/man8 ++NETBSD_MAN1 = ${PREFIX}/${PKGMANDIR}/man1 ++NETBSD_MAN8 = ${PREFIX}/${PKGMANDIR}/man8 + + CFLAGS = ${DEFS} -O -I. + +@@ -123,9 +123,9 @@ clean cleandir distclean: + rm -f ${PROGRAMS} libextra.a netcrypt.c *.o core a.out + + install: ${PROGRAMS} +- install -cs -m 555 -o bin -g bin ${PROGRAMS} ${NETBSD_BINDIR} +- install -c -m 444 -o bin -g bin ${MAN1} ${NETBSD_MAN1} +- install -c -m 444 -o bin -g bin ${MAN8} ${NETBSD_MAN8} ++ ${BSD_INSTALL_PROGRAM} ${PROGRAMS} ${NETBSD_BINDIR} ++ ${BSD_INSTALL_MAN} ${MAN1} ${NETBSD_MAN1} ++ ${BSD_INSTALL_MAN} ${MAN8} ${NETBSD_MAN8} + + netcrypt.c: + @echo "[ Using netcryptvoid.c ]" |