summaryrefslogtreecommitdiffstats
path: root/irc/xchat2
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>2000-06-12 19:12:37 +0000
committerjim <jim@FreeBSD.org>2000-06-12 19:12:37 +0000
commitb72765c7f1178764a7ca98037eb04efc3ade6200 (patch)
tree70f79912c405257b7ac8cb64a245b3007a7e9407 /irc/xchat2
parent123a485d10f2c8faaa81ca7beabc4ed4fb8bb2c9 (diff)
downloadFreeBSD-ports-b72765c7f1178764a7ca98037eb04efc3ade6200.zip
FreeBSD-ports-b72765c7f1178764a7ca98037eb04efc3ade6200.tar.gz
Fix up the GNOME dependencies and use devel/gettext instead of xchat's own
local libintl. Submitted by: ade
Diffstat (limited to 'irc/xchat2')
-rw-r--r--irc/xchat2/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/irc/xchat2/Makefile b/irc/xchat2/Makefile
index 844cdd4..9f3eb92 100644
--- a/irc/xchat2/Makefile
+++ b/irc/xchat2/Makefile
@@ -22,12 +22,14 @@ LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
LIB_DEPENDS+= gnome.4:${PORTSDIR}/x11/gnomelibs
.endif
-.if defined(WITH_GDK_PIXBUF)
-LIB_DEPENDS+= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
-.endif
-
.if exists(${X11BASE}/bin/panel) && defined(WITH_GNOME)
WITH_GDK_PIXBUF= YES
+WITH_PANEL= YES
+LIB_DEPENDS+= panel_applet.4:${PORTSDIR}/x11/gnomecore
+.endif
+
+.if defined(WITH_GDK_PIXBUF)
+LIB_DEPENDS+= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
.endif
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
@@ -62,9 +64,11 @@ CONFIGURE_ARGS+= --enable-gdk-pixbuf
CONFIGURE_ARGS+= --disable-gdk-pixbuf
.endif
-CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ GTK_CONFIG="${GTK_CONFIG}" \
GLIB_CONFIG="${GLIB_CONFIG}" \
- GDK_PIXBUF_CONFIG="${GDK_PIXBUF_CONFIG}"
+ GDK_PIXBUF_CONFIG="${GDK_PIXBUF_CONFIG}" \
+ LIBS="-L${LOCALBASE}/lib"
.if defined(WITH_GNOME)
PLIST= ${PKGDIR}/PLIST.gnome
OpenPOWER on IntegriCloud