diff options
author | jperkin <jperkin> | 2016-02-25 16:20:49 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2016-02-25 16:20:49 +0000 |
commit | abd3d211a3612812ef0ad902d2b9f2faa1b61b26 (patch) | |
tree | 97af6be06b9ddcb0ed7c9f9c32a4c4f218021b96 /net/tspc | |
parent | a1e5a2ce27367203746bf97543e0bce217e878ce (diff) | |
download | pkgsrc-abd3d211a3612812ef0ad902d2b9f2faa1b61b26.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'net/tspc')
-rw-r--r-- | net/tspc/Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/net/tspc/Makefile b/net/tspc/Makefile index c7837e333b7..b85a2b0a8c7 100644 --- a/net/tspc/Makefile +++ b/net/tspc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2015/11/08 21:55:11 dholland Exp $ +# $NetBSD: Makefile,v 1.23 2016/02/25 16:20:53 jperkin Exp $ DISTNAME= tspc-2.1.1-src PKGNAME= ${DISTNAME:S/-src//} @@ -16,13 +16,9 @@ BROKEN_EXCEPT_ON_PLATFORM= NetBSD-*-* OpenBSD-*-* FreeBSD-*-* Linux-*-* \ AUTO_MKDIRS= yes -.include "../../mk/bsd.prefs.mk" - -.if ${OPSYS} == "SunOS" -TARGET= solaris -.else -TARGET= ${LOWER_OPSYS} -.endif +OPSYSVARS+= TARGET +TARGET.SunOS= solaris +TARGET.*= ${LOWER_OPSYS} MAKE_ENV+= target=${TARGET:Q} MAKE_ENV+= configdir=${PREFIX}/share/tspc |