From 6e3374554f1a0a486f2fc744a72aa1c47bc71a16 Mon Sep 17 00:00:00 2001 From: jperkin Date: Fri, 26 Feb 2016 10:57:45 +0000 Subject: Use OPSYSVARS. --- www/mini_httpd/Makefile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'www/mini_httpd') 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. -- cgit v1.2.3