summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2006-01-15 11:36:50 +0000
committerkristerw <kristerw@pkgsrc.org>2006-01-15 11:36:50 +0000
commitde0a697d71a7457bd09d75c959deb623ede461be (patch)
tree8aa9263249cf10746aec9f76f795e1fe69dd002c /net
parent1cb003be653429ff501d0606482d1f4994a0ea9a (diff)
downloadpkgsrc-de0a697d71a7457bd09d75c959deb623ede461be.tar.gz
Include mk/bsd.prefs.mk so that OPSYS is defined before it is used.
Diffstat (limited to 'net')
-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}