diff options
author | steve <steve@FreeBSD.org> | 2000-07-08 03:59:26 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-07-08 03:59:26 +0800 |
commit | 7879264d29ab2a706345ab21de9f9cd3139efc7a (patch) | |
tree | 0fb8a7b052271f54c6bdf617de3027472d998225 /korean/gau | |
parent | c691dd330a3da8e70bfc74508b9fb3b585604a4d (diff) | |
download | freebsd-ports-gnome-7879264d29ab2a706345ab21de9f9cd3139efc7a.tar.gz freebsd-ports-gnome-7879264d29ab2a706345ab21de9f9cd3139efc7a.tar.zst freebsd-ports-gnome-7879264d29ab2a706345ab21de9f9cd3139efc7a.zip |
- 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 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 $< |