summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-07-07 19:59:26 +0000
committersteve <steve@FreeBSD.org>2000-07-07 19:59:26 +0000
commit7879264d29ab2a706345ab21de9f9cd3139efc7a (patch)
tree0fb8a7b052271f54c6bdf617de3027472d998225 /x11-toolkits
parentc691dd330a3da8e70bfc74508b9fb3b585604a4d (diff)
downloadFreeBSD-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 'x11-toolkits')
-rw-r--r--x11-toolkits/xenophilia/Makefile5
-rw-r--r--x11-toolkits/xenophilia/files/patch-aa4
2 files changed, 6 insertions, 3 deletions
diff --git a/x11-toolkits/xenophilia/Makefile b/x11-toolkits/xenophilia/Makefile
index 2352d02..a3e8565 100644
--- a/x11-toolkits/xenophilia/Makefile
+++ b/x11-toolkits/xenophilia/Makefile
@@ -15,8 +15,11 @@ MAINTAINER= sobomax@FreeBSD.org
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
USE_X_PREFIX= yes
-ALL_TARGET=
+MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}"
+ALL_TARGET= # empty
pre-install:
@${MKDIR} ${PREFIX}/lib/gtk/themes/engines
diff --git a/x11-toolkits/xenophilia/files/patch-aa b/x11-toolkits/xenophilia/files/patch-aa
index e5baf88..0722e50 100644
--- a/x11-toolkits/xenophilia/files/patch-aa
+++ b/x11-toolkits/xenophilia/files/patch-aa
@@ -13,8 +13,8 @@
-CFLAGS = `gtk-config --cflags`
-LIBS = `gtk-config --libs`
+CC ?= gcc
-+CFLAGS += `$(X11BASE)/bin/gtk12-config --cflags` -fPIC -DPIC
-+LIBS += `$(X11BASE)/bin/gtk12-config --libs`
++CFLAGS += `$(GTK_CONFIG) --cflags` -fPIC -DPIC
++LIBS += `$(GTK_CONFIG) --libs`
#Use these for FreeBSD:
#PREFIX = `gtk12-config --prefix`
OpenPOWER on IntegriCloud