aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.gnome.mk
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-12 01:12:57 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-04-12 01:12:57 +0000
commit79a1d2b6285c841959acaa9c77357d106700df13 (patch)
treef05fdd5058cdfb63ba8be5955f30d1f72fba5b54 /Mk/bsd.gnome.mk
parenta4735ab5c025bd0758171b786955c235d196636c (diff)
downloadports-79a1d2b6285c841959acaa9c77357d106700df13.tar.gz
ports-79a1d2b6285c841959acaa9c77357d106700df13.zip
Remove the global CONFIGURE_TARGET, and add it as a dependency of glib20.
Notes
Notes: svn path=/head/; revision=78783
Diffstat (limited to 'Mk/bsd.gnome.mk')
-rw-r--r--Mk/bsd.gnome.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index f7d03b372e7c..6477dfdf6f17 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -203,6 +203,7 @@ libpanel_GNOME_DESKTOP_VERSION=1
glib20_LIB_DEPENDS= glib-2.0.200:${PORTSDIR}/devel/glib20
glib20_DETECT= ${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc
+glib20_CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
atk_LIB_DEPENDS= atk-1.0.200:${PORTSDIR}/devel/atk
atk_DETECT= ${LOCALBASE}/libdata/pkgconfig/atk.pc
@@ -452,9 +453,6 @@ USE_GNOME+= imlib
USE_GNOME+=gnomeprefix gnomehack gtkhtml libpanel
. endif
-# Set a reasonable (overrideable) configure target for GNOME apps.
-CONFIGURE_TARGET?= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
# First of all expand all USE_GNOME_IMPL recursively
. for component in ${_USE_GNOME_ALL}
. for subcomponent in ${${component}_USE_GNOME_IMPL}
@@ -494,6 +492,10 @@ CONFIGURE_ARGS+=${${component}_CONFIGURE_ARGS}
CONFIGURE_ENV+= ${${component}_CONFIGURE_ENV}
MAKE_ENV+= ${${component}_MAKE_ENV}
+. if !defined(CONFIGURE_TARGET) && defined(${component}_CONFIGURE_TARGET)
+CONFIGURE_TARGET= ${${component}_CONFIGURE_TARGET}
+. endif
+
. if defined(${component}_PRE_PATCH)
GNOME_PRE_PATCH+= ${${component}_PRE_PATCH}
. endif