summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-07-22 07:34:28 +0000
committeragc <agc@pkgsrc.org>1998-07-22 07:34:28 +0000
commit0a6a80b22fa37614aec75153d919c9ebe58f3e94 (patch)
tree1528a85024ad18e71855831d47ca8a99550172a6
parentcdb325c0d54084958813217dc240f9da02c30790 (diff)
downloadpkgsrc-0a6a80b22fa37614aec75153d919c9ebe58f3e94.tar.gz
OPSYS will be defined in bsd.prefs.mk, so no need to redefine it here.
OPSYS will also be substituted automatically when creating the contents list from the PLIST, so no need to substitute it explicitly here.
-rw-r--r--lang/STk/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/lang/STk/Makefile b/lang/STk/Makefile
index 264784013d0..7b92e0d718e 100644
--- a/lang/STk/Makefile
+++ b/lang/STk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 1998/07/21 14:58:43 agc Exp $
+# $NetBSD: Makefile,v 1.4 1998/07/22 07:34:28 agc Exp $
#
DISTNAME= STk-3.99.2
@@ -13,15 +13,9 @@ PLIST_SRC= ${WRKDIR}/PLIST.tmp
.include "../../mk/bsd.prefs.mk"
-.ifndef OPSYS
-OPSYS!= uname -s
-.endif
-
-OS_VERSION!= uname -r
+OS_VERSION!= /usr/bin/uname -r
pre-install:
- @${SED} -e 's|\$${OS_VERSION}|${OS_VERSION}|g' \
- -e 's|\$${OPSYS}|${OPSYS}|g' \
- ${PKGDIR}/PLIST > ${PLIST_SRC}
+ @${SED} -e 's|\$${OS_VERSION}|${OS_VERSION}|g' ${PKGDIR}/PLIST > ${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"