diff options
author | tron <tron> | 2000-11-17 07:54:54 +0000 |
---|---|---|
committer | tron <tron> | 2000-11-17 07:54:54 +0000 |
commit | bd3b010daeb5fe4f5c8dc89d7af9abaa54dc9376 (patch) | |
tree | efd1d5ddd789b4ff03f589ee7f05feeb051cd1be /net | |
parent | fd9e5e7e0af7983ad3fa7199a871408944dc604b (diff) | |
download | pkgsrc-bd3b010daeb5fe4f5c8dc89d7af9abaa54dc9376.tar.gz |
Only link with "-lutil" on NetBSD system.
Diffstat (limited to 'net')
-rw-r--r-- | net/xchat/Makefile | 9 |
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 |