summaryrefslogtreecommitdiff
path: root/irc/olirc/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-07-07 19:59:26 +0000
committerSteve Price <steve@FreeBSD.org>2000-07-07 19:59:26 +0000
commit89b7d2a4465628b128b8f5f7fde5f2a3e2b2a8df (patch)
treedab293772a4c12d5e7f6c0f30c1e8ae09e1cfe4d /irc/olirc/Makefile
parentLocation on MASTER_SITE has changed. (diff)
- Use GTK_CONFIG/GLIB_CONFIG instead of hardcoded gtk12-config/glib12-config
- Support CC/CFLAGS/PREIFX/LOCALBASE/X11BASE/MAKE/etc. properly PR: 19623 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes: svn path=/head/; revision=30342
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