summaryrefslogtreecommitdiff
path: root/korean/gau
diff options
context:
space:
mode:
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 $<