1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

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]
This commit is contained in:
Koop Mast 2014-06-05 20:27:29 +00:00
parent bfb4d155d0
commit 99bfee6a24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356700
3 changed files with 14 additions and 7 deletions

View File

@ -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

View File

@ -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: *;
};

View File

@ -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