pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/mini_httpd
Module Name: pkgsrc
Committed By: nia
Date: Sun Jun 6 13:43:55 UTC 2021
Modified Files:
pkgsrc/www/mini_httpd: Makefile
Log Message:
mini_httpd: define LICENSE, link -lcrypt on all nondarwin
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/www/mini_httpd/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/mini_httpd/Makefile
diff -u pkgsrc/www/mini_httpd/Makefile:1.30 pkgsrc/www/mini_httpd/Makefile:1.31
--- pkgsrc/www/mini_httpd/Makefile:1.30 Sat Jan 18 21:51:09 2020
+++ pkgsrc/www/mini_httpd/Makefile Sun Jun 6 13:43:55 2021
@@ -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@localhost
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
Home |
Main Index |
Thread Index |
Old Index