summaryrefslogtreecommitdiff
path: root/devel/id-utils
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1997-10-06 14:35:53 +0000
committeragc <agc@pkgsrc.org>1997-10-06 14:35:53 +0000
commit42824d13a98e8066cd80568265e4c1b10ea61812 (patch)
tree6eb26dc6e41899d9dccb3d0ca3ed97dba72e2792 /devel/id-utils
parent05bb903718e34d13014c98cb4648fff787a45eb4 (diff)
downloadpkgsrc-42824d13a98e8066cd80568265e4c1b10ea61812.tar.gz
Add NetBSD RCS Id.
Use uname -s to work out what Operating System we're on. FreeBSD have a dependency to use emacs to byte-compile a LISP file. Don't use this dependency on NetBSD - avoids downloading emacs just to compile one file.
Diffstat (limited to 'devel/id-utils')
-rw-r--r--devel/id-utils/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/id-utils/Makefile b/devel/id-utils/Makefile
index f5334698fb7..775656bc409 100644
--- a/devel/id-utils/Makefile
+++ b/devel/id-utils/Makefile
@@ -1,3 +1,4 @@
+# $NetBSD: Makefile,v 1.2 1997/10/06 14:35:53 agc Exp $
# New ports collection makefile for: id-utils
# Version required: 3.2
# Date created: 22 Aug 1996
@@ -12,8 +13,13 @@ MASTER_SITES= ${MASTER_SITE_GNU}
MAINTAINER= pst@FreeBSD.ORG
-# need to byte-compile a .el file
+OPSYS!= uname -s
+
+.if (${OPSYS} == "FreeBSD")
+# agc - don't do this if we're on NetBSD
+# FreeBSD use emacs to byte-compile a .el file
BUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs
+.endif
GNU_CONFIGURE= yes
USE_GMAKE= yes