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 /japanese | |
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 'japanese')
-rw-r--r-- | japanese/gicq/Makefile | 6 | ||||
-rw-r--r-- | japanese/gicq/files/patch-ab | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/japanese/gicq/Makefile b/japanese/gicq/Makefile index 6c5fe586b02f..6805eb22acb5 100644 --- a/japanese/gicq/Makefile +++ b/japanese/gicq/Makefile @@ -23,13 +23,15 @@ MAINTAINER= flathill@FreeBSD.org LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ icq.0:${PORTSDIR}/japanese/libicq +GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config GTK_CONFIG?= ${X11BASE}/bin/gtk12-config USE_X_PREFIX= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-gnome --disable-nls -CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \ - CPPFLAGS="-I${LOCALBASE}/include" \ +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + GLIB_CONFIG="${GLIB_CONFIG}" \ + GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" .include <bsd.port.mk> diff --git a/japanese/gicq/files/patch-ab b/japanese/gicq/files/patch-ab index cc30b78ef453..504578e8dcdb 100644 --- a/japanese/gicq/files/patch-ab +++ b/japanese/gicq/files/patch-ab @@ -5,7 +5,7 @@ else ac_save_LIBS="$LIBS" -LIBS="-licq "`glib-config --libs`" $LIBS" -+LIBS="-licq "`glib12-config --libs`" $LIBS" ++LIBS="-licq "`$GLIB_CONFIG --libs`" $LIBS" cat > conftest.$ac_ext <<EOF #line 3985 "configure" #include "confdefs.h" |