summaryrefslogtreecommitdiff
path: root/chat/xchat-python
diff options
context:
space:
mode:
Diffstat (limited to 'chat/xchat-python')
-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"