diff options
author | steve <steve@FreeBSD.org> | 2000-07-07 19:59:26 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-07-07 19:59:26 +0000 |
commit | 7879264d29ab2a706345ab21de9f9cd3139efc7a (patch) | |
tree | 0fb8a7b052271f54c6bdf617de3027472d998225 /korean/gau | |
parent | c691dd330a3da8e70bfc74508b9fb3b585604a4d (diff) | |
download | FreeBSD-ports-7879264d29ab2a706345ab21de9f9cd3139efc7a.zip FreeBSD-ports-7879264d29ab2a706345ab21de9f9cd3139efc7a.tar.gz |
- 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/Makefile | 8 | ||||
-rw-r--r-- | korean/gau/files/patch-bb | 4 |
2 files changed, 7 insertions, 5 deletions
diff --git a/korean/gau/Makefile b/korean/gau/Makefile index 6829993..9ed3412 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 49757d7..6e8b8a4 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 $< |