1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

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
This commit is contained in:
Joe Marcus Clarke 2003-04-05 06:12:02 +00:00
parent 8ad22ae60a
commit 3d5442acf2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78255

View File

@ -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}