[75377] trunk/dports/irc/xchat
jmr at macports.org
jmr at macports.org
Sun Jan 23 19:47:18 PST 2011
Revision: 75377
http://trac.macports.org/changeset/75377
Author: jmr at macports.org
Date: 2011-01-23 19:47:18 -0800 (Sun, 23 Jan 2011)
Log Message:
-----------
xchat: fix build (#22266)
Modified Paths:
--------------
trunk/dports/irc/xchat/Portfile
Added Paths:
-----------
trunk/dports/irc/xchat/files/
trunk/dports/irc/xchat/files/configure.diff
Modified: trunk/dports/irc/xchat/Portfile
===================================================================
--- trunk/dports/irc/xchat/Portfile 2011-01-24 02:22:52 UTC (rev 75376)
+++ trunk/dports/irc/xchat/Portfile 2011-01-24 03:47:18 UTC (rev 75377)
@@ -26,6 +26,8 @@
ui_msg "You may instead want the xchat2 port which installs XChat version 2."
}
+patchfiles configure.diff
+
configure.env LIBS="-L${prefix}/lib"
configure.cflags-append "-I${prefix}/include"
Added: trunk/dports/irc/xchat/files/configure.diff
===================================================================
--- trunk/dports/irc/xchat/files/configure.diff (rev 0)
+++ trunk/dports/irc/xchat/files/configure.diff 2011-01-24 03:47:18 UTC (rev 75377)
@@ -0,0 +1,27 @@
+--- configure.orig 2002-12-11 20:42:38.000000000 +1100
++++ configure 2011-01-24 14:42:54.000000000 +1100
+@@ -10734,24 +10734,6 @@
+ fi
+
+
+-if test "_$trpath" != _; then
+-if test "_$sortpath" != _; then
+-if test "_$uniqpath" != _; then
+-
+-echo $GUI_CFLAGS > cflags
+-tr " " "\n" < cflags > cflags2
+-sort cflags2 > cflags
+-uniq cflags > cflags2
+-tr "\n" " " < cflags2 > cflags
+-GUI_CFLAGS=`cat cflags`
+-rm -f cflags cflags2
+-
+-fi
+-fi
+-fi
+-
+-
+-
+
+ ac_config_files="$ac_config_files Makefile src/Makefile src/common/Makefile src/fe-text/Makefile src/fe-gtk/Makefile intl/Makefile po/Makefile.in"
+ cat >confcache <<\_ACEOF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110123/845b7fd8/attachment.html>
More information about the macports-changes
mailing list