summaryrefslogtreecommitdiff
path: root/irc/olirc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'irc/olirc/Makefile')
-rw-r--r--irc/olirc/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/irc/olirc/Makefile b/irc/olirc/Makefile
index d72f7cb1b982..91070b9465d4 100644
--- a/irc/olirc/Makefile
+++ b/irc/olirc/Makefile
@@ -14,10 +14,14 @@ MAINTAINER= nox@jelal.kn-bremen.de
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
USE_BZIP2= yes
-GNU_CONFIGURE= yes
USE_X_PREFIX= yes
-CONFIGURE_ENV= GTK_CONFIG=${X11BASE}/bin/gtk12-config
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
+ GTK_CONFIG="${GTK_CONFIG}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/olirc ${PREFIX}/bin