diff options
author | Steve Price <steve@FreeBSD.org> | 2000-07-07 19:59:26 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-07-07 19:59:26 +0000 |
commit | 89b7d2a4465628b128b8f5f7fde5f2a3e2b2a8df (patch) | |
tree | dab293772a4c12d5e7f6c0f30c1e8ae09e1cfe4d /x11-themes/xenophilia | |
parent | Location on MASTER_SITE has changed. (diff) |
- 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>
Notes
Notes:
svn path=/head/; revision=30342
Diffstat (limited to 'x11-themes/xenophilia')
-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` |