summaryrefslogtreecommitdiff
path: root/irc/xchat1
diff options
context:
space:
mode:
authorJim Mock <jim@FreeBSD.org>2000-06-12 19:12:37 +0000
committerJim Mock <jim@FreeBSD.org>2000-06-12 19:12:37 +0000
commit0847a8164e161575c02f57a057f0e541c755d948 (patch)
tree535a31e0a8d7135a9f940a2e8f42dd210effd6b6 /irc/xchat1
parentRemove paterno@dsi.unifi.it as MAINTAINER; email has been bouncing for (diff)
Fix up the GNOME dependencies and use devel/gettext instead of xchat's own
local libintl. Submitted by: ade
Notes
Notes: svn path=/head/; revision=29550
Diffstat (limited to 'irc/xchat1')
-rw-r--r--irc/xchat1/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/irc/xchat1/Makefile b/irc/xchat1/Makefile
index 844cdd47b5d6..9f3eb927e85b 100644
--- a/irc/xchat1/Makefile
+++ b/irc/xchat1/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