pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/tspc Include mk/bsd.prefs.mk so that OPSYS is defi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/129f1715ef09
branches:  trunk
changeset: 506365:129f1715ef09
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Sun Jan 15 11:36:50 2006 +0000

description:
Include mk/bsd.prefs.mk so that OPSYS is defined before it is used.

diffstat:

 net/tspc/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 1d4222d009df -r 129f1715ef09 net/tspc/Makefile
--- a/net/tspc/Makefile Sun Jan 15 11:33:35 2006 +0000
+++ b/net/tspc/Makefile Sun Jan 15 11:36:50 2006 +0000
@@ -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+=    Darwin-*-*
 ONLY_FOR_PLATFORM+=    SunOS-*-*
 
-.if "${OPSYS}" == "SunOS"
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
 TARGET=                        solaris
 .else
 TARGET=                        ${LOWER_OPSYS}



Home | Main Index | Thread Index | Old Index