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 /x11/gmessage | |
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 'x11/gmessage')
-rw-r--r-- | x11/gmessage/Makefile | 3 | ||||
-rw-r--r-- | x11/gmessage/files/patch-aa | 13 |
2 files changed, 10 insertions, 6 deletions
diff --git a/x11/gmessage/Makefile b/x11/gmessage/Makefile index 43de554b7d7a..bc8018a2b9f2 100644 --- a/x11/gmessage/Makefile +++ b/x11/gmessage/Makefile @@ -14,6 +14,9 @@ MAINTAINER= domi@saargate.de LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config + USE_X_PREFIX= yes +MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}" .include <bsd.port.mk> diff --git a/x11/gmessage/files/patch-aa b/x11/gmessage/files/patch-aa index 14c2e4b2a6e3..6d6e4d81ffee 100644 --- a/x11/gmessage/files/patch-aa +++ b/x11/gmessage/files/patch-aa @@ -1,11 +1,12 @@ ---- Makefile.orig Sun Jul 18 17:55:35 1999 -+++ Makefile Sun Jul 18 17:57:42 1999 +--- Makefile.orig Thu May 27 19:58:06 1999 ++++ Makefile Sat Jul 1 17:48:44 2000 @@ -1,6 +1,6 @@ - CC = gcc +-CC = gcc -CFLAGS = `gtk-config --cflags` -LDLIBS = `gtk-config --libs` -+CFLAGS = `gtk12-config --cflags` -+LDLIBS = `gtk12-config --libs` ++CC ?= gcc ++CFLAGS += `$(GTK_CONFIG) --cflags` ++LDLIBS = `$(GTK_CONFIG) --libs` all: gmessage @@ -14,7 +15,7 @@ install: gmessage - cp ./gmessage /usr/local/bin -+ install -m 0555 -o root -g wheel -s gmessage /usr/X11R6/bin ++ ${BSD_INSTALL_PROGRAM} gmessage ${PREFIX}/bin clean: $(RM) *.o core gmessage |