Add a new var: MODGNOME_MIME_FILE -- used to declare a dependency on
shared-mime-info. Add a small hack so that we do not need to BDEP on shared-mime-info and that we do not need to pass --disable-update-mimedb and alikes.
This commit is contained in:
parent
f62e23a104
commit
a655132730
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: gnome.port.mk,v 1.70 2013/10/15 09:20:49 ajacoutot Exp $
|
||||
# $OpenBSD: gnome.port.mk,v 1.71 2013/10/15 09:43:08 ajacoutot Exp $
|
||||
#
|
||||
# Module for GNOME related ports
|
||||
|
||||
@ -46,6 +46,12 @@ MODGNOME_pre-configure += ln -sf /usr/bin/true ${WRKDIR}/bin/desktop-file-valida
|
||||
MODGNOME_RUN_DEPENDS+= x11/gtk+2,-guic
|
||||
.endif
|
||||
|
||||
# Set to 'yes' if there are .xml files under share/mime/.
|
||||
.if defined(MODGNOME_MIME_FILE) && ${MODGNOME_MIME_FILE:L} == "yes"
|
||||
MODGNOME_RUN_DEPENDS+= misc/shared-mime-info
|
||||
MODGNOME_pre-configure += ln -sf /usr/bin/true ${WRKDIR}/bin/update-mime-database
|
||||
.endif
|
||||
|
||||
USE_GMAKE?= Yes
|
||||
|
||||
# Use MODGNOME_TOOLS to indicate certain tools are needed for building bindings
|
||||
|
Loading…
Reference in New Issue
Block a user