diff options
author | jperkin <jperkin> | 2016-02-26 10:24:10 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2016-02-26 10:24:10 +0000 |
commit | ef1610895821955af5f984f84fd7ebd4d703c080 (patch) | |
tree | 0296198370532d82efd6efd523c7ca1570359f37 /sysutils/su2 | |
parent | de37916b80b2468bc4a685bb71738de502b3f2bc (diff) | |
download | pkgsrc-ef1610895821955af5f984f84fd7ebd4d703c080.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'sysutils/su2')
-rw-r--r-- | sysutils/su2/Makefile | 11 |
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 |