pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/xchat-python Fix build problem under Mac OS X by ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d55a2046c78
branches:  trunk
changeset: 509820:2d55a2046c78
user:      tron <tron%pkgsrc.org@localhost>
date:      Tue Mar 14 21:30:17 2006 +0000

description:
Fix build problem under Mac OS X by not linkink with the (non existing)
"util" library.

diffstat:

 chat/xchat-python/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r b71d3c450518 -r 2d55a2046c78 chat/xchat-python/Makefile
--- a/chat/xchat-python/Makefile        Tue Mar 14 21:20:33 2006 +0000
+++ b/chat/xchat-python/Makefile        Tue Mar 14 21:30:17 2006 +0000
@@ -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+=       --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"



Home | Main Index | Thread Index | Old Index