summaryrefslogtreecommitdiff
path: root/devel/gmake
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1997-10-06 14:30:49 +0000
committeragc <agc@pkgsrc.org>1997-10-06 14:30:49 +0000
commitc697686fb25b932265652494279fdbfdcd080bf4 (patch)
treec616322c1ba350a7c6d75b4bb67cf448027e8e3c /devel/gmake
parent43eead261a1ecac08ce4702b9edbe226486c9fcf (diff)
downloadpkgsrc-c697686fb25b932265652494279fdbfdcd080bf4.tar.gz
Add NetBSD RCS Ids.
Use uname -s to work out the Operating System. FreeBSD has install-info and /usr/share/info/dir by default. NetBSD doesn't, so, for now, don't try to do this on NetBSD.
Diffstat (limited to 'devel/gmake')
-rw-r--r--devel/gmake/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/devel/gmake/Makefile b/devel/gmake/Makefile
index 1964cca1fc1..27d5e502f2e 100644
--- a/devel/gmake/Makefile
+++ b/devel/gmake/Makefile
@@ -1,3 +1,4 @@
+# $NetBSD: Makefile,v 1.2 1997/10/06 14:31:01 agc Exp $
# New ports collection makefile for: GNU make
# Version required: 3.75
# Date created: 11 September 1994
@@ -14,6 +15,13 @@ MASTER_SITES= ${MASTER_SITE_GNU}
GNU_CONFIGURE= yes
MAN1= gmake.1
+OPSYS ?= `uname -s`
+
+.if (${OPSYS} == "NetBSD")
+post-install:
+ /bin/chmod g-s ${PREFIX}/bin/gmake
+ /usr/bin/chgrp ${BINGRP} ${PREFIX}/bin/gmake
+.else
# joerg@freebsd.org says our getloadavg() no longer requires setgid kmem
post-install:
/bin/chmod g-s ${PREFIX}/bin/gmake
@@ -22,5 +30,6 @@ post-install:
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
@install-info ${PREFIX}/info/make.info ${PREFIX}/info/dir
+.endif
.include <bsd.port.mk>