summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-03-26 14:42:36 +0000
committerkrion <krion@FreeBSD.org>2004-03-26 14:42:36 +0000
commit6a51c00002337ed19ce074821121ac5788ca6b92 (patch)
tree7847d4e92ecf19a996d295c0f3e4f0f9a3c93b7f /graphics
parentb3d5fafd206a89d0b7e246cdaa339006ce6dd6a0 (diff)
downloadFreeBSD-ports-6a51c00002337ed19ce074821121ac5788ca6b92.zip
FreeBSD-ports-6a51c00002337ed19ce074821121ac5788ca6b92.tar.gz
- Fix build with gimp-2.0.0
PR: ports/64763 Submitted by: Ports Fury
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gtkam/Makefile7
-rw-r--r--graphics/gtkam/files/patch-src_Makefile.in2
-rw-r--r--graphics/gtkam/pkg-plist2
3 files changed, 6 insertions, 5 deletions
diff --git a/graphics/gtkam/Makefile b/graphics/gtkam/Makefile
index 96634e7..15dffead 100644
--- a/graphics/gtkam/Makefile
+++ b/graphics/gtkam/Makefile
@@ -28,12 +28,12 @@ MAN1= gtkam.1
.include <bsd.port.pre.mk>
-.if exists(${X11BASE}/lib/libgimp-1.3.so)
+.if exists(${X11BASE}/lib/libgimp-2.0.so)
WITH_GIMP= yes
.endif
.if defined(WITH_GIMP)
-LIB_DEPENDS+= gimp-1.3:${PORTSDIR}/graphics/gimp-devel
+LIB_DEPENDS+= gimp-2.0:${PORTSDIR}/graphics/gimp-devel
PLIST_SUB+= GIMP=""
.else
CONFIGURE_ARGS+= --without-gimp
@@ -59,7 +59,8 @@ pre-everything::
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|-g -Wall||g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-g -Wall||g ; \
+ s|gimpui-1.3|gimpui-2.0|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|images/gtkam|gtkam/images|g'
diff --git a/graphics/gtkam/files/patch-src_Makefile.in b/graphics/gtkam/files/patch-src_Makefile.in
index dbbc39c..6c213be 100644
--- a/graphics/gtkam/files/patch-src_Makefile.in
+++ b/graphics/gtkam/files/patch-src_Makefile.in
@@ -5,7 +5,7 @@
-@HAVE_GIMP_TRUE@gtkam_gimp_libexecdir = $(libdir)/gimp/1.3/plug-ins
-+@HAVE_GIMP_TRUE@gtkam_gimp_libexecdir = $(libexecdir)/gimp/1.3/plug-ins
++@HAVE_GIMP_TRUE@gtkam_gimp_libexecdir = $(libexecdir)/gimp/2.0/plug-ins
@HAVE_GIMP_TRUE@gtkam_gimp_libexec_PROGRAMS = gtkam-gimp
@HAVE_GIMP_TRUE@gtkam_gimp_SOURCES = gtkam-gimp.c
@HAVE_GIMP_TRUE@gtkam_gimp_LDADD = \
diff --git a/graphics/gtkam/pkg-plist b/graphics/gtkam/pkg-plist
index a8efb14..4400bde 100644
--- a/graphics/gtkam/pkg-plist
+++ b/graphics/gtkam/pkg-plist
@@ -1,5 +1,5 @@
bin/gtkam
-%%GIMP%%libexec/gimp/1.3/plug-ins/gtkam-gimp
+%%GIMP%%libexec/gimp/2.0/plug-ins/gtkam-gimp
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
OpenPOWER on IntegriCloud