summaryrefslogtreecommitdiff
path: root/net/xchat/Makefile
diff options
context:
space:
mode:
authortron <tron>2000-11-17 07:54:54 +0000
committertron <tron>2000-11-17 07:54:54 +0000
commit4ad594ecb13fd454c39575bfc7b0eb7557be6a8f (patch)
treeefd1d5ddd789b4ff03f589ee7f05feeb051cd1be /net/xchat/Makefile
parentd37a9631c2e5b16c71c35f370989f7ebbf169d1b (diff)
downloadpkgsrc-4ad594ecb13fd454c39575bfc7b0eb7557be6a8f.tar.gz
Only link with "-lutil" on NetBSD system.
Diffstat (limited to 'net/xchat/Makefile')
-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