summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2000-11-17 07:54:54 +0000
committertron <tron@pkgsrc.org>2000-11-17 07:54:54 +0000
commitcfaaffaa0d28693918f5df7a47090d67b3103aaa (patch)
treeefd1d5ddd789b4ff03f589ee7f05feeb051cd1be /net
parent73a1871d424df529666119ccee30a57ea35ba87f (diff)
downloadpkgsrc-cfaaffaa0d28693918f5df7a47090d67b3103aaa.tar.gz
Only link with "-lutil" on NetBSD system.
Diffstat (limited to 'net')
-rw-r--r--net/xchat/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/xchat/Makefile b/net/xchat/Makefile
index 332aa9f70d9..e1b03454d48 100644
--- a/net/xchat/Makefile
+++ b/net/xchat/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2000/11/16 21:50:14 tron Exp $
+# $NetBSD: Makefile,v 1.17 2000/11/17 07:54:54 tron Exp $
DISTNAME= xchat-1.5.7
CATEGORIES= net x11 gnome
@@ -15,7 +15,12 @@ USE_GMAKE= yes
USE_PERL5= yes
USE_X11BASE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include LIBS=-lutil
+CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include
+
+.include "../../mk/bsd.prefs.mk"
+.if (${OPSYS} == NetBSD)
+CONFIGURE_ENV+= LIBS=-lutil
+.endif
pre-configure:
@${TOUCH} ${WRKSRC}/stamp-h.in