summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authoragc <agc>1998-07-22 07:34:28 +0000
committeragc <agc>1998-07-22 07:34:28 +0000
commitacd490c0a4d9f36112c6285cd52a721fc6dbbf8e (patch)
tree1528a85024ad18e71855831d47ca8a99550172a6 /lang
parent2ca495aa905bdab7684698d6dfbf2762e1c7d96d (diff)
downloadpkgsrc-acd490c0a4d9f36112c6285cd52a721fc6dbbf8e.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.
Diffstat (limited to 'lang')
-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"