summaryrefslogtreecommitdiff
path: root/sysutils/su2
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-26 10:24:10 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-26 10:24:10 +0000
commitc049a2ca48d1150abe59446f3082ca4116323bc6 (patch)
tree0296198370532d82efd6efd523c7ca1570359f37 /sysutils/su2
parent0538ec5b33e56381337ee00b1bb6243bc3bc3c7a (diff)
downloadpkgsrc-c049a2ca48d1150abe59446f3082ca4116323bc6.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'sysutils/su2')
-rw-r--r--sysutils/su2/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/sysutils/su2/Makefile b/sysutils/su2/Makefile
index 07ff38a0948..abda7259380 100644
--- a/sysutils/su2/Makefile
+++ b/sysutils/su2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2013/04/06 21:07:35 rodent Exp $
+# $NetBSD: Makefile,v 1.17 2016/02/26 10:24:13 jperkin Exp $
#
DISTNAME= su2-1.3
@@ -25,14 +25,9 @@ SUBST_FILES.preproc= su2.c
SUBST_SED.preproc= -e 's,^\(\# *else\).*,\1,'
SUBST_SED.preproc= -e 's,^\(\# *endif\).*,\1,'
+OPSYSVARS+= LDLIBS
LDLIBS= -lcrypt
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "NetBSD"
-LDLIBS+= -lcompat
-.endif
-
+LDLIBS.NetBSD+= -lcompat
MAKE_ENV+= LDLIBS=${LDLIBS:Q}
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1