summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2004-12-12 07:38:37 +0000
committermezz <mezz@FreeBSD.org>2004-12-12 07:38:37 +0000
commit5ef7de1e88750dbe3cd7f7a1936d8ef0e84de80c (patch)
tree9c2677fa4ad9c24bde55ec8a20f9a46831a47a8a /graphics
parentdde18e904ddc1e55be7c428b879c76cdd28030cc (diff)
downloadFreeBSD-ports-5ef7de1e88750dbe3cd7f7a1936d8ef0e84de80c.zip
FreeBSD-ports-5ef7de1e88750dbe3cd7f7a1936d8ef0e84de80c.tar.gz
Fix the build if you don't have gnomepanel installed.
Reported by: pointyhat via kris
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gimp-app-devel/Makefile3
-rw-r--r--graphics/gimp-devel/Makefile3
2 files changed, 6 insertions, 0 deletions
diff --git a/graphics/gimp-app-devel/Makefile b/graphics/gimp-app-devel/Makefile
index f6917d4..3fc8718 100644
--- a/graphics/gimp-app-devel/Makefile
+++ b/graphics/gimp-app-devel/Makefile
@@ -88,6 +88,7 @@ USE_GNOME+= gnomepanel desktopfileutils
CONFIGURE_ARGS+= --with-desktop-dir=${X11BASE}/share/gnome
PKGNAMESUFFIX= -gnome
PLIST_SUB+= GNOMEPANEL:=""
+GNOME_ENABLED= yes
.else
PLIST_SUB+= GNOMEPANEL:="@comment "
.endif
@@ -110,7 +111,9 @@ pre-everything::
@${ECHO_MSG} " WITH_MP=yes Turns on multiple-processor support"
@${ECHO_MSG} ""
+.if defined(GNOME_ENABLED)
post-install:
@${X11BASE}/bin/update-desktop-database
+.endif
.include <bsd.port.post.mk>
diff --git a/graphics/gimp-devel/Makefile b/graphics/gimp-devel/Makefile
index f6917d4..3fc8718 100644
--- a/graphics/gimp-devel/Makefile
+++ b/graphics/gimp-devel/Makefile
@@ -88,6 +88,7 @@ USE_GNOME+= gnomepanel desktopfileutils
CONFIGURE_ARGS+= --with-desktop-dir=${X11BASE}/share/gnome
PKGNAMESUFFIX= -gnome
PLIST_SUB+= GNOMEPANEL:=""
+GNOME_ENABLED= yes
.else
PLIST_SUB+= GNOMEPANEL:="@comment "
.endif
@@ -110,7 +111,9 @@ pre-everything::
@${ECHO_MSG} " WITH_MP=yes Turns on multiple-processor support"
@${ECHO_MSG} ""
+.if defined(GNOME_ENABLED)
post-install:
@${X11BASE}/bin/update-desktop-database
+.endif
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud