summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-18 03:24:57 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-18 03:24:57 +0800
commit873890c45ae2352436bdd1762ec3f9131e047227 (patch)
tree4d6438f45486e4d577a39bae3f3354f402dee7e4 /Mk
parent42689a2f5befbce4cd50c316f06cde02d66e5337 (diff)
downloadmarcuscom-ports-873890c45ae2352436bdd1762ec3f9131e047227.tar.gz
marcuscom-ports-873890c45ae2352436bdd1762ec3f9131e047227.tar.zst
marcuscom-ports-873890c45ae2352436bdd1762ec3f9131e047227.zip
Add a band-aid patch to help with the X11BASE -> LOCALBASE transition.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6611 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gnome.mk13
1 files changed, 12 insertions, 1 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index 2dffac4e5..fdedd61ae 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -3,7 +3,7 @@
#
# $FreeBSD$
# $NetBSD: $
-# $MCom: ports/Mk/bsd.gnome.mk,v 1.391 2006/07/05 18:07:35 marcus Exp $
+# $MCom: ports/Mk/bsd.gnome.mk,v 1.392 2006/07/13 03:08:24 marcus Exp $
#
# Please view me with 4 column tabs!
@@ -116,6 +116,7 @@ gnomeprefix_CONFIGURE_ARGS=--localstatedir=${GNOME_LOCALSTATEDIR} \
--disable-gtk-doc \
--with-gconf-source=${GCONF_CONFIG_SOURCE}
gnomeprefix_USE_GNOME_IMPL=gnomehier
+gnomeprefix_PREFIX=${LOCALBASE}
gnometarget_CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -687,6 +688,16 @@ LIB_DEPENDS+= ${${component}_LIB_DEPENDS}
RUN_DEPENDS+= ${${component}_RUN_DEPENDS}
.endif
+.if defined(${component}_PREFIX)
+.if ${.MAKEFLAGS:MPREFIX=*}==""
+PREFIX= ${${component}_PREFIX}
+.endif
+.if defined(USE_X_PREFIX)
+.undef USE_X_PREFIX
+USE_XLIB= yes
+.endif
+.endif
+
CONFIGURE_ARGS+=${${component}_CONFIGURE_ARGS}
CONFIGURE_ENV+= ${${component}_CONFIGURE_ENV}
MAKE_ENV+= ${${component}_MAKE_ENV}