From 89b7d2a4465628b128b8f5f7fde5f2a3e2b2a8df Mon Sep 17 00:00:00 2001 From: Steve Price Date: Fri, 7 Jul 2000 19:59:26 +0000 Subject: - 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 --- x11-themes/xenophilia/Makefile | 5 ++++- x11-themes/xenophilia/files/patch-aa | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'x11-themes') 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` -- cgit v1.2.3