diff options
author | nia <nia@pkgsrc.org> | 2021-06-06 13:43:55 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-06-06 13:43:55 +0000 |
commit | 25efd638bf687895927da3a7a214d189f24e4402 (patch) | |
tree | 0e645b3af9b7d2203dec9ef64faa470c810f6609 /www | |
parent | 487f041cc197c0effc7faf7a45f5c9a7e54c40ab (diff) | |
download | pkgsrc-25efd638bf687895927da3a7a214d189f24e4402.tar.gz |
mini_httpd: define LICENSE, link -lcrypt on all nondarwin
Diffstat (limited to 'www')
-rw-r--r-- | www/mini_httpd/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/www/mini_httpd/Makefile b/www/mini_httpd/Makefile index 302d6066948..2d2d0af4770 100644 --- a/www/mini_httpd/Makefile +++ b/www/mini_httpd/Makefile @@ -1,15 +1,15 @@ -# $NetBSD: Makefile,v 1.30 2020/01/18 21:51:09 jperkin Exp $ +# $NetBSD: Makefile,v 1.31 2021/06/06 13:43:55 nia Exp $ DISTNAME= mini_httpd-1.30 PKGREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.acme.com/software/mini_httpd/ +DIST_SUBDIR= ${PKGNAME_NOREV} MAINTAINER= reed@reedmedia.net HOMEPAGE= http://www.acme.com/software/mini_httpd/ COMMENT= Small, forking webserver with IPv6 and SSL support - -DIST_SUBDIR= ${PKGNAME_NOREV} +LICENSE= 2-clause-bsd USE_FEATURES= snprintf @@ -17,7 +17,12 @@ MAKE_ENV+= PKG_CFLAGS=${CFLAGS:Q} MAKE_ENV+= PKG_LDFLAGS=${LDFLAGS:Q} MAKE_ENV+= PKG_LIBS=${LIBS:Q} -MAKE_ENV.NetBSD+= CRYPT_LIB=-lcrypt +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} != "Darwin" +MAKE_ENV+= CRYPT_LIB=-lcrypt +.endif + MAKE_ENV.SunOS+= SYSV_LIBS="-lnsl -lsocket -lsendfile" SUBST_CLASSES= htpasswd |