summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2006-03-14 21:30:17 +0000
committertron <tron@pkgsrc.org>2006-03-14 21:30:17 +0000
commit2b12288c876ad13d1de60da8c00add431b959447 (patch)
tree4309b5939abedc017eca46e61638cbd4e5f0acd2 /chat
parentb4182aeb392b2f4255d35b17654e10eebd8b8f9d (diff)
downloadpkgsrc-2b12288c876ad13d1de60da8c00add431b959447.tar.gz
Fix build problem under Mac OS X by not linkink with the (non existing)
"util" library.
Diffstat (limited to 'chat')
-rw-r--r--chat/xchat-python/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/chat/xchat-python/Makefile b/chat/xchat-python/Makefile
index ce4f89f43a4..bbfc72c62a6 100644
--- a/chat/xchat-python/Makefile
+++ b/chat/xchat-python/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/03/14 19:06:19 tron Exp $
+# $NetBSD: Makefile,v 1.5 2006/03/14 21:30:17 tron Exp $
.include "../../chat/xchat/Makefile.common"
@@ -17,5 +17,14 @@ CONFIGURE_ARGS+= --disable-perl
CONFIGURE_ARGS+= --enable-python
CONFIGURE_ENV+= ac_cv_path_pythonpath=${PYTHONBIN:Q}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+SUBST_CLASSES+= libutil
+SUBST_STAGE.libutil= pre-configure
+SUBST_FILES.libutil= configure
+SUBST_SED.libutil= -e 's/ -lutil//g'
+.endif
+
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"