summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2014-05-25 18:21:31 +0000
committerbouyer <bouyer@pkgsrc.org>2014-05-25 18:21:31 +0000
commit152c6bf8f18b51ffe7c51b078b1b3f56ec20df95 (patch)
treea5e0c4785e4b1ea89841225bca2fc0259505d7ac
parentede007e401e4752240d96311693748153c6650a8 (diff)
downloadpkgsrc-152c6bf8f18b51ffe7c51b078b1b3f56ec20df95.tar.gz
Enable --enable-graphics_ctx, as proposed on tech-pkg@.
Needed by upcoming geography/opencpn. Major linux distro seems to have it enabled by default. This package now depends on cairo. Bump PKGREVISION. Dependant packages not bumped, as the library should be ABI backward-compatible (tested with kicad).PKGREVISION. Dependant packages not bumped, as the library should be ABI backward-compatible (tested with cad/kicad).
-rw-r--r--x11/wxGTK28/Makefile5
-rw-r--r--x11/wxGTK28/Makefile.common3
-rw-r--r--x11/wxGTK28/buildlink3.mk3
3 files changed, 7 insertions, 4 deletions
diff --git a/x11/wxGTK28/Makefile b/x11/wxGTK28/Makefile
index 6dc4937fc0a..5049ab95d08 100644
--- a/x11/wxGTK28/Makefile
+++ b/x11/wxGTK28/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.38 2014/05/05 00:48:33 ryoon Exp $
+# $NetBSD: Makefile,v 1.39 2014/05/25 18:21:31 bouyer Exp $
#
.include "../../x11/wxGTK28/Makefile.common"
PKGNAME= ${DISTNAME:S/wxGTK/wxGTK28/}
-PKGREVISION= 5
+PKGREVISION= 6
COMMENT= GTK-based implementation of the wxWidgets GUI library
BUILD_TARGET= all
@@ -35,5 +35,6 @@ post-install:
LIBS+= -lexecinfo
.endif
+.include "../../graphics/cairo/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/wxGTK28/Makefile.common b/x11/wxGTK28/Makefile.common
index c2b91a8ead0..66228779ab9 100644
--- a/x11/wxGTK28/Makefile.common
+++ b/x11/wxGTK28/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.15 2013/06/15 02:30:57 ryoon Exp $
+# $NetBSD: Makefile.common,v 1.16 2014/05/25 18:21:31 bouyer Exp $
#
# used by x11/wxGTK28/Makefile
# used by x11/wxGTK28-contrib/Makefile
@@ -33,6 +33,7 @@ CONFIGURE_ARGS+= --with-expat=sys
CONFIGURE_ARGS+= --with-zlib=sys
CONFIGURE_ARGS+= --with-regex=builtin
CONFIGURE_ARGS+= --enable-mediactrl
+CONFIGURE_ARGS+= --enable-graphics_ctx
DOCDIR= ${PREFIX}/share/doc/wxGTK
PKGLOCALEDIR= share
diff --git a/x11/wxGTK28/buildlink3.mk b/x11/wxGTK28/buildlink3.mk
index 41eff58ac4c..b9ced69baec 100644
--- a/x11/wxGTK28/buildlink3.mk
+++ b/x11/wxGTK28/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.28 2014/05/05 00:48:33 ryoon Exp $
+# $NetBSD: buildlink3.mk,v 1.29 2014/05/25 18:21:31 bouyer Exp $
BUILDLINK_TREE+= wxGTK28
@@ -11,6 +11,7 @@ BUILDLINK_PKGSRCDIR.wxGTK28?= ../../x11/wxGTK28
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"