Skip to content

Commit

Permalink
mini_httpd: define LICENSE, link -lcrypt on all nondarwin
Browse files Browse the repository at this point in the history
  • Loading branch information
alarixnia committed Jun 6, 2021
1 parent fee4785 commit 09f7b62
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions www/mini_httpd/Makefile
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
# $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= [email protected]
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

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
Expand Down

0 comments on commit 09f7b62

Please sign in to comment.