summaryrefslogtreecommitdiff
path: root/www/mini_httpd
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2015-05-05 15:55:17 +0000
committerjoerg <joerg@pkgsrc.org>2015-05-05 15:55:17 +0000
commit333e21c5c278cfd18c648c1d591f83c6344814df (patch)
treeed904cbd99a0677246fd916b46a79cb4ab1927e8 /www/mini_httpd
parent1cb20d08437d38e610153a644e4a58d3ca29ba02 (diff)
downloadpkgsrc-333e21c5c278cfd18c648c1d591f83c6344814df.tar.gz
Pick up crypt(3) on NetBSD.
Diffstat (limited to 'www/mini_httpd')
-rw-r--r--www/mini_httpd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/mini_httpd/Makefile b/www/mini_httpd/Makefile
index c5500bdbc5a..d90d4d7d7b7 100644
--- a/www/mini_httpd/Makefile
+++ b/www/mini_httpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2015/04/11 16:16:54 schwarz Exp $
+# $NetBSD: Makefile,v 1.25 2015/05/05 15:55:17 joerg Exp $
DISTNAME= mini_httpd-1.21
CATEGORIES= www
@@ -20,6 +20,8 @@ MAKE_ENV+= PKG_LIBS=${LIBS:Q}
.if ${OPSYS} == "SunOS"
MAKE_ENV+= SYSV_LIBS="-lnsl -lsocket"
+.elif ${OPSYS} == "NetBSD"
+MAKE_ENV+= CRYPT_LIB=-lcrypt
.endif
SUBST_CLASSES= htpasswd