aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.gnome.mk
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-11 10:44:08 +0800
committerreg <reg@FreeBSD.org>2000-10-11 10:44:08 +0800
commitb45598e0b0524558113fd9a423b4238697f6741d (patch)
tree00a86c448e61ec0987951f70803ca2acc68c9f17 /Mk/bsd.gnome.mk
parent676629168f0472b8ea6d63a0619f4f6555b06d43 (diff)
downloadfreebsd-ports-gnome-b45598e0b0524558113fd9a423b4238697f6741d.tar.gz
freebsd-ports-gnome-b45598e0b0524558113fd9a423b4238697f6741d.tar.zst
freebsd-ports-gnome-b45598e0b0524558113fd9a423b4238697f6741d.zip
Rushed the last commit to much. Make sure CONFIGURE_ARGs is defined before
playing with it.
Diffstat (limited to 'Mk/bsd.gnome.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}"