diff options
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/xenophilia/Makefile | 5 | ||||
-rw-r--r-- | x11-themes/xenophilia/files/patch-aa | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/x11-themes/xenophilia/Makefile b/x11-themes/xenophilia/Makefile index 2352d024c850..a3e856502db7 100644 --- a/x11-themes/xenophilia/Makefile +++ b/x11-themes/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-themes/xenophilia/files/patch-aa b/x11-themes/xenophilia/files/patch-aa index e5baf886482a..0722e5031126 100644 --- a/x11-themes/xenophilia/files/patch-aa +++ b/x11-themes/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` |