summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-11 02:44:08 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-11 02:44:08 +0000
commit8b531b1b93bde323c3149a9932f29cc9dc86d34e (patch)
tree489c22678052599dcbad09793e4907cb89f6a6e1 /Mk
parentBump PORTREVISION (diff)
Rushed the last commit to much. Make sure CONFIGURE_ARGs is defined before
playing with it.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gnome.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index 06baab11e52d..e84aac2a5a1a 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -262,13 +262,13 @@ MAKE_ENV+= HAVE_IMLIB=${HAVE_IMLIB}
# defined for you to use.
.if defined(USE_GNOMELIBS)
+CONFIGURE_ARGS+=--with-gnome=${PREFIX}
.if !defined(HAVE_GNOME) || ${CONFIGURE_ARGS:S/--localstatedir=//} == ${CONFIGURE_ARGS}
CONFIGURE_ARGS+=--localstatedir=${PREFIX}/share/gnome
.endif
.if !defined(HAVE_GNOME) || ${CONFIGURE_ARGS:S/--datadir=//} == ${CONFIGURE_ARGS}
CONFIGURE_ARGS+=--datadir=${PREFIX}/share/gnome
.endif
-CONFIGURE_ARGS+=--with-gnome=${PREFIX}
LIB_DEPENDS+= gnome.4:${PORTSDIR}/x11/gnomelibs
GNOME_CONFIG?= ${X11BASE}/bin/gnome-config
CONFIGURE_ENV+= GNOME_CONFIG="${GNOME_CONFIG}"