summaryrefslogtreecommitdiff
path: root/korean/gau
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 /korean/gau
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>
Diffstat (limited to 'korean/gau')
-rw-r--r--korean/gau/Makefile8
-rw-r--r--korean/gau/files/patch-bb4
2 files changed, 7 insertions, 5 deletions
diff --git a/korean/gau/Makefile b/korean/gau/Makefile
index 6829993b1db1..9ed341289fc3 100644
--- a/korean/gau/Makefile
+++ b/korean/gau/Makefile
@@ -17,14 +17,16 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= cjh@kr.freebsd.org
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
RUN_DEPENDS= lrz:${PORTSDIR}/comms/lrzsz \
${X11BASE}/lib/X11/fonts/local/gulim12.pcf.gz:${PORTSDIR}/korean/baekmukfonts-bdf
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
USE_X_PREFIX= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= GLIB_CONFIG=${LOCALBASE}/bin/glib12-config \
- GTK_CONFIG=${X11BASE}/bin/gtk12-config
+CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
+MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}"
.include <bsd.port.mk>
diff --git a/korean/gau/files/patch-bb b/korean/gau/files/patch-bb
index 49757d7b1644..6e8b8a45e91a 100644
--- a/korean/gau/files/patch-bb
+++ b/korean/gau/files/patch-bb
@@ -5,7 +5,7 @@
grimview: grimview.o $(zilla)
- gcc -o grimview grimview.o $(zilla) `gtk-config --libs` -ljpeg
-+ gcc -o grimview grimview.o $(zilla) `gtk12-config --libs` -ljpeg
++ $(CC) $(CFLAGS) -o grimview grimview.o $(zilla) `$(GTK_CONFIG) --libs` -ljpeg
.c.o:
- gcc -Wall `gtk-config --cflags` -c $<
-+ gcc -Wall `gtk12-config --cflags` -c $<
++ $(CC) $(CFLAGS) `$(GTK_CONFIG) --cflags` -c $<