pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/mini_httpd Don't use libutil on IRIX, where it's n...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c6dc32eab83c
branches:  trunk
changeset: 487770:c6dc32eab83c
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Wed Jan 19 21:54:51 2005 +0000

description:
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:

 www/mini_httpd/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 4478bec43950 -r c6dc32eab83c www/mini_httpd/Makefile
--- a/www/mini_httpd/Makefile   Wed Jan 19 21:54:26 2005 +0000
+++ b/www/mini_httpd/Makefile   Wed Jan 19 21:54:51 2005 +0000
@@ -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 @@
 
 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 \



Home | Main Index | Thread Index | Old Index