summaryrefslogtreecommitdiff
path: root/www/mini_httpd
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2005-01-19 21:54:51 +0000
committerjschauma <jschauma@pkgsrc.org>2005-01-19 21:54:51 +0000
commit1af5e6567a3fb205066a9ec895b83a06d90a9b05 (patch)
tree448cb2c0c5402f17da47cdfd523d777b8d281d5d /www/mini_httpd
parent39de0a0e65e467d2d2b5beab0284f653ba10f88b (diff)
downloadpkgsrc-1af5e6567a3fb205066a9ec895b83a06d90a9b05.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 \