summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>2010-08-19 19:51:48 +0000
committertron <tron>2010-08-19 19:51:48 +0000
commita730ebea7e51662986164051b27a3d493944a167 (patch)
treeecef3a4c998468b111730c1a39fa8346b14b92cd
parent3148bdca88a18c8da0f540afcd2e90b823c2dcc4 (diff)
downloadpkgsrc-a730ebea7e51662986164051b27a3d493944a167.tar.gz
Pullup ticket #3210 - requested by obache
x11/wxGTK24: build fix Revisions pulled up: - x11/wxGTK24/Makefile.common 1.7 - x11/wxGTK24/distinfo 1.12 - x11/wxGTK24/patches/patch-aa 1.6 --- Module Name: pkgsrc Committed By: obache Date: Wed Aug 18 10:05:08 UTC 2010 Modified Files: pkgsrc/x11/wxGTK24: Makefile.common distinfo pkgsrc/x11/wxGTK24/patches: patch-aa Log Message: Let to use BUILDLINK_DIR first for find header/library files. It should fixes PR#43215.
-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..e39ca553b9a 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.6.6.1 2010/08/19 19:51:48 tron 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..f4b9d0bdd21 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.11.2.1 2010/08/19 19:51:48 tron 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..2f690767ddb 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.5.2.1 2010/08/19 19:51:48 tron 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`"