summaryrefslogtreecommitdiff
path: root/graphics/gimp
diff options
context:
space:
mode:
authordbj <dbj>2016-04-11 04:41:20 +0000
committerdbj <dbj>2016-04-11 04:41:20 +0000
commit5bc1afe470b2d797440894f27dca0552f1115183 (patch)
tree2d6030bd2843dec4f941d5b3eabb5b1370e9d5d7 /graphics/gimp
parentd30c97571fac101475f222f9cb2dbe8bdd71e747 (diff)
downloadpkgsrc-5bc1afe470b2d797440894f27dca0552f1115183.tar.gz
specify --without-xmc and --without-libxpm if gtk2 is not built with x11
Diffstat (limited to 'graphics/gimp')
-rw-r--r--graphics/gimp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/gimp/Makefile b/graphics/gimp/Makefile
index 0fd4d29a27a..fd7498b7544 100644
--- a/graphics/gimp/Makefile
+++ b/graphics/gimp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.253 2016/01/27 10:31:29 wiz Exp $
+# $NetBSD: Makefile,v 1.254 2016/04/11 04:41:20 dbj Exp $
DISTNAME= gimp-2.8.16
PKGREVISION= 1
@@ -69,6 +69,9 @@ PLIST.remote= yes
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-xmc
+CONFIGURE_ARGS+= --without-libxpm
.endif
.if !empty(PKG_BUILD_OPTIONS.gtk2:Mquartz)
.include "../../x11/gtk-mac-integration/buildlink3.mk"