aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.gnome.mk
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-04-05 14:12:02 +0800
committermarcus <marcus@FreeBSD.org>2003-04-05 14:12:02 +0800
commitc48dcef67eaf4074d5b668b150ee452fb5b3abd2 (patch)
tree4aa54e7b06b7d216e02602865a4f6fde9150a7ee /Mk/bsd.gnome.mk
parentf18fa581a1ff4811d1d89628a573460d417f8d25 (diff)
downloadfreebsd-ports-gnome-c48dcef67eaf4074d5b668b150ee452fb5b3abd2.tar.gz
freebsd-ports-gnome-c48dcef67eaf4074d5b668b150ee452fb5b3abd2.tar.zst
freebsd-ports-gnome-c48dcef67eaf4074d5b668b150ee452fb5b3abd2.zip
Move some of the USE_* compatability macros outside of the
if defined(USE_GNOME) check as those macros will not exist if USE_GNOME is defined. Reported by: bento c/o kris
Diffstat (limited to 'Mk/bsd.gnome.mk')
-rw-r--r--Mk/bsd.gnome.mk15
1 files changed, 8 insertions, 7 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index b4c9b283b7c6..5056f2891bab 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -431,13 +431,6 @@ HAVE_GNOME+= ${component}
.if defined(_POSTMKINCLUDED)
-# Hack USE_GNOME to the modular nfrastructure for port mataintainers that
-# didn't do so themselves. This will allow us to get rid of the old
-# GNOME porting infrastructure more quickly.
-.if defined(USE_GNOME)
-. if ${USE_GNOME}=="yes"
-USE_GNOME=gnomeprefix gnomehack gtkhtml libpanel
-. endif
.if defined(USE_GTK)
USE_GNOME= gtk12
.endif
@@ -454,6 +447,14 @@ USE_GNOME= glib12
USE_GNOME= gnomeprefix gnomehack libcapplet
.endif
+# Hack USE_GNOME to the modular nfrastructure for port mataintainers that
+# didn't do so themselves. This will allow us to get rid of the old
+# GNOME porting infrastructure more quickly.
+.if defined(USE_GNOME)
+. if ${USE_GNOME}=="yes"
+USE_GNOME=gnomeprefix gnomehack gtkhtml libpanel
+. endif
+
# Set a reasonable (overrideable) configure target for GNOME apps.
CONFIGURE_TARGET?= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}