summaryrefslogtreecommitdiff
path: root/www/mini_httpd
diff options
context:
space:
mode:
authorjschauma <jschauma>2005-01-19 21:54:51 +0000
committerjschauma <jschauma>2005-01-19 21:54:51 +0000
commit4cecd2f48b94fe6be8e521ffe8b25d2c6b8f6605 (patch)
tree448cb2c0c5402f17da47cdfd523d777b8d281d5d /www/mini_httpd
parentda884c926c78771f460f7267813e3a3e98578ebf (diff)
downloadpkgsrc-4cecd2f48b94fe6be8e521ffe8b25d2c6b8f6605.tar.gz
Don't use libutil on IRIX, where it's not needed and doesn't exist,
as suggested by Georg Schwarz in PR pkg/27203.
Diffstat (limited to 'www/mini_httpd')
-rw-r--r--www/mini_httpd/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/www/mini_httpd/Makefile b/www/mini_httpd/Makefile
index 9e7c75dc036..b624e39d1d0 100644
--- a/www/mini_httpd/Makefile
+++ b/www/mini_httpd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/10/03 00:18:26 tv Exp $
+# $NetBSD: Makefile,v 1.5 2005/01/19 21:54:51 jschauma Exp $
DISTNAME= mini_httpd-1.19
PKGREVISION= 2
@@ -11,7 +11,14 @@ COMMENT= Small, forking webserver with IPv6 and SSL support
USE_BUILDLINK3= yes
MAKE_ENV+= PKG_CFLAGS="${CFLAGS}"
-LDFLAGS+= -lssl -lcrypto -lcrypt -lutil
+
+.include "../../mk/bsd.prefs.mk"
+
+LDFLAGS+= -lssl -lcrypto -lcrypt
+
+.if ${OPSYS} != "IRIX"
+LDFLAGS+= -lutil
+.endif
do-install:
for FILE in mini_httpd.8 htpasswd.1; do \