summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2014-06-05 20:27:29 +0000
committerkwm <kwm@FreeBSD.org>2014-06-05 20:27:29 +0000
commit7d80eb3e40ec1e13ab0668cebb05439a51dfef74 (patch)
treea3faa28aeab4d22828407147a8259f9ba3d1a622
parent597b8a830c101403c98d0af5644c2f711740c724 (diff)
downloadFreeBSD-ports-7d80eb3e40ec1e13ab0668cebb05439a51dfef74.zip
FreeBSD-ports-7d80eb3e40ec1e13ab0668cebb05439a51dfef74.tar.gz
Fix build with gcc from ports. [1]
While here use USES=libtool, strip installed small update regarding LDFLAGS PR: 178896 [1] Submitted by: kvedulv@kvedulv.de Patch by: avg@ [1]
-rw-r--r--irc/xchat/Makefile8
-rw-r--r--irc/xchat/files/patch-src_version-script10
-rw-r--r--irc/xchat/pkg-plist3
3 files changed, 14 insertions, 7 deletions
diff --git a/irc/xchat/Makefile b/irc/xchat/Makefile
index fafa259..1fbb9c8 100644
--- a/irc/xchat/Makefile
+++ b/irc/xchat/Makefile
@@ -4,7 +4,7 @@
PORTNAME= xchat
PORTVERSION= 2.8.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= irc gnome ipv6
MASTER_SITES= SF/${PORTNAME}/ \
http://xchat.org/files/source/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/
@@ -17,13 +17,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS= xchat-1* xchat-systray-plugin-[0-9]*
-USE_BZIP2= yes
-USES= gettext pkgconfig gmake pathfix
+USES= gettext gmake libtool pathfix pkgconfig tar:bzip2
USE_GNOME= gtk20
GNU_CONFIGURE= yes
-CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ARGS= --enable-ipv6
+INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DBUS NOTIFY PERL PYTHON SOCKS TCL
OPTIONS_DEFAULT=DBUS GTKSPELL PERL
diff --git a/irc/xchat/files/patch-src_version-script b/irc/xchat/files/patch-src_version-script
new file mode 100644
index 0000000..11fb9c9
--- /dev/null
+++ b/irc/xchat/files/patch-src_version-script
@@ -0,0 +1,10 @@
+--- src/version-script.orig 2009-08-16 11:40:18.000000000 +0200
++++ src/version-script 2014-06-05 22:18:13.000000000 +0200
+@@ -30,5 +30,7 @@
+ xchat_send_modes;
+ xchat_strip;
+ xchat_free;
++ __progname;
++ environ;
+ local: *;
+ };
diff --git a/irc/xchat/pkg-plist b/irc/xchat/pkg-plist
index 4b7bf7d..66d3b49 100644
--- a/irc/xchat/pkg-plist
+++ b/irc/xchat/pkg-plist
@@ -1,9 +1,6 @@
bin/xchat
-%%PERL%%lib/xchat/plugins/perl.la
%%PERL%%lib/xchat/plugins/perl.so
-%%PYTHON%%lib/xchat/plugins/python.la
%%PYTHON%%lib/xchat/plugins/python.so
-%%TCL%%lib/xchat/plugins/tcl.la
%%TCL%%lib/xchat/plugins/tcl.so
share/applications/xchat.desktop
%%DBUS%%share/dbus-1/services/org.xchat.service.service
OpenPOWER on IntegriCloud