summaryrefslogtreecommitdiff
path: root/irc/xchat
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2014-06-05 20:27:29 +0000
committerKoop Mast <kwm@FreeBSD.org>2014-06-05 20:27:29 +0000
commit99bfee6a24e065c9f9b3eee09c7fe760508dd73d (patch)
treea3faa28aeab4d22828407147a8259f9ba3d1a622 /irc/xchat
parent- Do not include bsd.port.pre.mk twice (diff)
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]
Notes
Notes: svn path=/head/; revision=356700
Diffstat (limited to 'irc/xchat')
-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 fafa259201d7..1fbb9c804b98 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 000000000000..11fb9c9481ae
--- /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 4b7bf7dbda01..66d3b49cc453 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