summaryrefslogtreecommitdiff
path: root/x11/wxGTK
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2005-02-12 22:43:44 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2005-02-12 22:43:44 +0000
commit36721c989ae5d489280fecf916ce3ebc748bdc79 (patch)
treea112b0a91e18df27b8417c3c5e90db23cadb9392 /x11/wxGTK
parentf6103d78ce0298c882500bb8478def87e6b18ba3 (diff)
downloadpkgsrc-36721c989ae5d489280fecf916ce3ebc748bdc79.tar.gz
- add missing graphics/glu buildlink file
- always use --with-gtk even when building with gtk2 otherwise we end up trying to build the motif version on some platforms such as solaris
Diffstat (limited to 'x11/wxGTK')
-rw-r--r--x11/wxGTK/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/x11/wxGTK/Makefile b/x11/wxGTK/Makefile
index 1a07fcaf0ea..0c05c928216 100644
--- a/x11/wxGTK/Makefile
+++ b/x11/wxGTK/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2005/01/03 20:43:52 augustss Exp $
+# $NetBSD: Makefile,v 1.37 2005/02/12 22:43:44 dmcmahill Exp $
#
DISTNAME= wxGTK-2.4.2
@@ -30,8 +30,11 @@ DOCDIR= ${PREFIX}/share/doc/wx/gtk
.include "../../mk/bsd.prefs.mk"
-.if !empty(WXGTK_USE_GTK1:M[Yy][Ee][Ss])
+# This is needed for gtk1 and gtk2 on some platforms and
+# it doesn't hurt on those which don't need it
CONFIGURE_ARGS+= --with-gtk
+
+.if !empty(WXGTK_USE_GTK1:M[Yy][Ee][Ss])
PLIST_SUBST+= GTKVER=
.include "../../x11/gtk/buildlink3.mk"
.else
@@ -47,6 +50,7 @@ post-install:
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"