diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-02-26 10:57:45 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-02-26 10:57:45 +0000 |
commit | 6e3374554f1a0a486f2fc744a72aa1c47bc71a16 (patch) | |
tree | ba40492c0d12e5e3607803f3192c1d24923347ba /www/mini_httpd | |
parent | 8d2b8043a9f337574d5b9aac66cf867006db634c (diff) | |
download | pkgsrc-6e3374554f1a0a486f2fc744a72aa1c47bc71a16.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'www/mini_httpd')
-rw-r--r-- | www/mini_httpd/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/www/mini_httpd/Makefile b/www/mini_httpd/Makefile index d90d4d7d7b7..1d5a2b40543 100644 --- a/www/mini_httpd/Makefile +++ b/www/mini_httpd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2015/05/05 15:55:17 joerg Exp $ +# $NetBSD: Makefile,v 1.26 2016/02/26 10:57:46 jperkin Exp $ DISTNAME= mini_httpd-1.21 CATEGORIES= www @@ -16,13 +16,8 @@ MAKE_ENV+= PKG_CFLAGS=${CFLAGS:Q} MAKE_ENV+= PKG_LDFLAGS=${LDFLAGS:Q} MAKE_ENV+= PKG_LIBS=${LIBS:Q} -.include "../../mk/bsd.prefs.mk" - -.if ${OPSYS} == "SunOS" -MAKE_ENV+= SYSV_LIBS="-lnsl -lsocket" -.elif ${OPSYS} == "NetBSD" -MAKE_ENV+= CRYPT_LIB=-lcrypt -.endif +MAKE_ENV.NetBSD+= CRYPT_LIB=-lcrypt +MAKE_ENV.SunOS+= SYSV_LIBS="-lnsl -lsocket" SUBST_CLASSES= htpasswd SUBST_MESSAGE.htpasswd= Fix name of (m)htpasswd in manual pages. |