aboutsummaryrefslogtreecommitdiff
path: root/irc/xchat
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-09-05 20:12:17 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-09-05 20:12:17 +0000
commita64268a2983c37584544d2ffba0461e4d70c868a (patch)
tree8c8dc2176ab7919b7a8e32fa2a1f03f2ace9a457 /irc/xchat
parent48292acf617c5ff8ce2242c3b38fed3376b0ab26 (diff)
downloadports-a64268a2983c37584544d2ffba0461e4d70c868a.tar.gz
ports-a64268a2983c37584544d2ffba0461e4d70c868a.zip
Notes
Diffstat (limited to 'irc/xchat')
-rw-r--r--irc/xchat/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/irc/xchat/Makefile b/irc/xchat/Makefile
index f08990a31183..57edd91041fc 100644
--- a/irc/xchat/Makefile
+++ b/irc/xchat/Makefile
@@ -34,7 +34,8 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_ARGS+= --disable-python \
--without-included-gettext \
--enable-nls \
- --enable-ipv6
+ --enable-ipv6 \
+ --datadir="${PREFIX}/share"
.include <bsd.port.pre.mk>
@@ -52,6 +53,7 @@ CONFIGURE_ARGS+= --enable-openssl
.if defined(HAVE_GNOME)
USE_GNOME= yes
CONFIGURE_ARGS+= --enable-gnome --enable-panel --enable-gdk-pixbuf
+MAKE_ARGS= icondir="${PREFIX}/share/gnome/pixmaps"
.else
CONFIGURE_ARGS+= --disable-gnome --disable-gdk-pixbuf
.endif
@@ -59,12 +61,8 @@ CONFIGURE_ARGS+= --disable-gnome --disable-gdk-pixbuf
post-patch:
@${PERL} -pi \
-e 's|-lpthread|${PTHREAD_LIBS}|g;' \
- -e 's|DATADIRNAME=lib|DATADIRNAME=share|g;' \
-e 's|iconv|giconv|;' \
${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi \
- -e 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g;' \
- -e 's|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g;'
@${PERL} -pi -e 's|iconv\.h|giconv.h|;' \
${WRKSRC}/src/common/jcode.c