summaryrefslogtreecommitdiff
path: root/net/tspc
diff options
context:
space:
mode:
authorkristerw <kristerw>2006-01-15 11:36:50 +0000
committerkristerw <kristerw>2006-01-15 11:36:50 +0000
commite0c72a683704650c2e4bb5b51a3177d3eb12251e (patch)
tree8aa9263249cf10746aec9f76f795e1fe69dd002c /net/tspc
parentc4c132db2fd993b792b2ce8b8915541e23640427 (diff)
downloadpkgsrc-e0c72a683704650c2e4bb5b51a3177d3eb12251e.tar.gz
Include mk/bsd.prefs.mk so that OPSYS is defined before it is used.
Diffstat (limited to 'net/tspc')
-rw-r--r--net/tspc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/tspc/Makefile b/net/tspc/Makefile
index b6d720a65f2..67fc54d68c9 100644
--- a/net/tspc/Makefile
+++ b/net/tspc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2005/12/29 06:22:04 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2006/01/15 11:36:50 kristerw Exp $
DISTNAME= tspc-2.1.1-src
PKGNAME= ${DISTNAME:S/-src//}
@@ -17,7 +17,9 @@ ONLY_FOR_PLATFORM+= Linux-*-*
ONLY_FOR_PLATFORM+= Darwin-*-*
ONLY_FOR_PLATFORM+= SunOS-*-*
-.if "${OPSYS}" == "SunOS"
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
TARGET= solaris
.else
TARGET= ${LOWER_OPSYS}