summaryrefslogtreecommitdiff
path: root/x11/wxGTK24
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-08-18 10:05:08 +0000
committerobache <obache@pkgsrc.org>2010-08-18 10:05:08 +0000
commit8e37a3ec9b28543d74aa101fd1655a61c5012469 (patch)
treef9b7ce337e97bd94667eb07a1796e40f1ca1d2c1 /x11/wxGTK24
parentc8101296189d5a9412f9696ac1677bd0c9e9b613 (diff)
downloadpkgsrc-8e37a3ec9b28543d74aa101fd1655a61c5012469.tar.gz
Let to use BUILDLINK_DIR first for find header/library files.
It should fixes PR#43215.
Diffstat (limited to 'x11/wxGTK24')
-rw-r--r--x11/wxGTK24/Makefile.common3
-rw-r--r--x11/wxGTK24/distinfo4
-rw-r--r--x11/wxGTK24/patches/patch-aa18
3 files changed, 15 insertions, 10 deletions
diff --git a/x11/wxGTK24/Makefile.common b/x11/wxGTK24/Makefile.common
index 5aef3b56c18..8822812a207 100644
--- a/x11/wxGTK24/Makefile.common
+++ b/x11/wxGTK24/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2009/11/29 20:16:20 joerg Exp $
+# $NetBSD: Makefile.common,v 1.7 2010/08/18 10:05:08 obache Exp $
#
DISTNAME= wxGTK-2.4.2
@@ -23,6 +23,7 @@ CONFIGURE_ARGS+= --with-libjpeg=sys
CONFIGURE_ARGS+= --with-zlib=sys
CONFIGURE_ARGS+= --with-libpng=sys
CONFIGURE_ARGS+= --with-libtiff=sys
+CONFIGURE_ENV+= BUILDLINK_DIR=${BUILDLINK_DIR:Q}
CPPFLAGS+= -Dunix=1 # src/common/unzip.c needs this
diff --git a/x11/wxGTK24/distinfo b/x11/wxGTK24/distinfo
index 517fbae3217..3af800c6547 100644
--- a/x11/wxGTK24/distinfo
+++ b/x11/wxGTK24/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.11 2010/06/13 22:45:53 wiz Exp $
+$NetBSD: distinfo,v 1.12 2010/08/18 10:05:08 obache Exp $
SHA1 (wxGTK-2.4.2.tar.bz2) = 3f1ebacaaf8eb5510c14ee10bafbc5f225be842c
RMD160 (wxGTK-2.4.2.tar.bz2) = 8076d1ba31c9b23becb241cbad5a83763fee776e
Size (wxGTK-2.4.2.tar.bz2) = 5381935 bytes
-SHA1 (patch-aa) = f7510b2dafd73da3c79808b141fee6a60cd47269
+SHA1 (patch-aa) = a3950686ec1b71ad42aa324892739408b780b3da
SHA1 (patch-ab) = bab52051778a93439cfd3144f052bdbcc7024e30
SHA1 (patch-ac) = 06a047a28260d30516b87d85a4dd4d5a6c18cfc4
SHA1 (patch-ad) = 809a12f89b018373910b31442dfd315276cafbdf
diff --git a/x11/wxGTK24/patches/patch-aa b/x11/wxGTK24/patches/patch-aa
index bb14e9ee7f1..502479531df 100644
--- a/x11/wxGTK24/patches/patch-aa
+++ b/x11/wxGTK24/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.5 2010/06/13 22:45:53 wiz Exp $
+$NetBSD: patch-aa,v 1.6 2010/08/18 10:05:08 obache Exp $
--- configure.orig 2003-09-21 11:31:30.000000000 +0000
+++ configure
@@ -11,13 +11,17 @@ $NetBSD: patch-aa,v 1.5 2010/06/13 22:45:53 wiz Exp $
USE_BSD=1
USE_FREEBSD=1
cat >> confdefs.h <<\EOF
-@@ -11498,9 +11498,10 @@ SEARCH_INCLUDE="\
- /usr/local/x11r5/include \
- /usr/lpp/Xamples/include \
+@@ -11436,6 +11436,7 @@ EOF
+
+
+ SEARCH_INCLUDE="\
++ ${BUILDLINK_DIR}/include \
+ /usr/local/include \
+ \
+ /usr/Motif-1.2/include \
+@@ -11500,7 +11501,7 @@ SEARCH_INCLUDE="\
\
-- /usr/openwin/share/include"
-+ /usr/openwin/share/include\
-+ ${PREFIX}/include"
+ /usr/openwin/share/include"
-SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
+SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"