Only set CONFIGURE_ARGS when CONFIGURE_STYLE is set to gnu or simple.
This commit is contained in:
parent
ddbbde83f6
commit
849ec8f358
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: dconf.port.mk,v 1.4 2011/11/11 11:39:13 espie Exp $
|
||||
# $OpenBSD: dconf.port.mk,v 1.5 2014/07/09 16:49:41 ajacoutot Exp $
|
||||
|
||||
# This module is used by ports installing gsettings schemas under
|
||||
# PREFIX/share/glib-2.0/schemas/
|
||||
@ -15,4 +15,6 @@ MODDCONF_RUN_DEPENDS= devel/glib2 \
|
||||
BUILD_DEPENDS += ${MODDCONF_BUILD_DEPENDS}
|
||||
RUN_DEPENDS += ${MODDCONF_RUN_DEPENDS}
|
||||
|
||||
.if ${CONFIGURE_STYLE:Mgnu} || ${CONFIGURE_STYLE:Msimple}
|
||||
CONFIGURE_ARGS += --disable-schemas-compile
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: gconf2.port.mk,v 1.7 2011/05/06 06:43:43 ajacoutot Exp $
|
||||
# $OpenBSD: gconf2.port.mk,v 1.8 2014/07/09 16:49:41 ajacoutot Exp $
|
||||
|
||||
MODGCONF2_WANTLIB = gconf-2
|
||||
MODGCONF2_LIB_DEPENDS = devel/gconf2
|
||||
@ -21,7 +21,9 @@ BUILD_DEPENDS += ${MODGCONF2_BUILD_DEPENDS}
|
||||
.if defined(MODGCONF2_SCHEMAS_DIR)
|
||||
SCHEMAS_INSTDIR = share/schemas/${MODGCONF2_SCHEMAS_DIR:L}
|
||||
SUBST_VARS += SCHEMAS_INSTDIR
|
||||
. if ${CONFIGURE_STYLE:Mgnu} || ${CONFIGURE_STYLE:Msimple}
|
||||
CONFIGURE_ARGS += --with-gconf-schema-file-dir=${LOCALBASE}/${SCHEMAS_INSTDIR}
|
||||
. endif
|
||||
.endif
|
||||
|
||||
MODGCONF2_post-patch += ln -s /usr/bin/true ${WRKDIR}/bin/gconftool-2
|
||||
|
Loading…
x
Reference in New Issue
Block a user