summaryrefslogtreecommitdiff
path: root/x11/wxGTK28
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2012-03-12 10:39:13 +0000
committerfhajny <fhajny@pkgsrc.org>2012-03-12 10:39:13 +0000
commitf821bd405979b137e2df49d9dd6fd953f139d762 (patch)
tree1ee5f4fba91fdf3495fea04e7715e32d2e8f8e91 /x11/wxGTK28
parentdc3100cf0787664d53fe5fcb9877d667a102f4a4 (diff)
downloadpkgsrc-f821bd405979b137e2df49d9dd6fd953f139d762.tar.gz
Add @PREFIX@/lib to SEARCH_LIB in configure to end up with a sane search
path on SunOS, where a transformation from 'lib' to 'lib/64' is performend automatically when ABI=64.
Diffstat (limited to 'x11/wxGTK28')
-rw-r--r--x11/wxGTK28/Makefile.common3
-rw-r--r--x11/wxGTK28/patches/patch-aa12
2 files changed, 11 insertions, 4 deletions
diff --git a/x11/wxGTK28/Makefile.common b/x11/wxGTK28/Makefile.common
index edd1ee14fbd..16f84665019 100644
--- a/x11/wxGTK28/Makefile.common
+++ b/x11/wxGTK28/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.11 2012/01/20 12:02:23 drochner Exp $
+# $NetBSD: Makefile.common,v 1.12 2012/03/12 10:39:13 fhajny Exp $
#
# used by x11/wxGTK28/Makefile
# used by x11/wxGTK28-contrib/Makefile
@@ -53,6 +53,7 @@ SUBST_STAGE.fix-paths= pre-configure
SUBST_MESSAGE.fix-paths= Fixing absolute paths.
SUBST_FILES.fix-paths= configure
SUBST_SED.fix-paths= -e 's,/usr/pkg/include,${PREFIX}/include,g'
+SUBST_SED.fix-paths+= -e 's,@PREFIX@,${PREFIX},g'
pre-configure:
mkdir ${WRKSRC}/build-non-unicode ${WRKSRC}/build-unicode
diff --git a/x11/wxGTK28/patches/patch-aa b/x11/wxGTK28/patches/patch-aa
index 92bcb6df790..59c4a85865c 100644
--- a/x11/wxGTK28/patches/patch-aa
+++ b/x11/wxGTK28/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2012/01/27 06:07:48 sbd Exp $
+$NetBSD: patch-aa,v 1.5 2012/03/12 10:39:13 fhajny Exp $
--- configure.orig 2009-03-06 12:17:38.000000000 +0000
+++ configure
@@ -37,7 +37,7 @@ $NetBSD: patch-aa,v 1.4 2012/01/27 06:07:48 sbd Exp $
/usr/X11R6/include \
/usr/X11R6.4/include \
\
-@@ -25055,6 +25056,7 @@ fi
+@@ -25055,11 +25056,12 @@ fi
wx_cv_std_libpath="lib";
;;
esac
@@ -45,6 +45,12 @@ $NetBSD: patch-aa,v 1.4 2012/01/27 06:07:48 sbd Exp $
echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
echo "${ECHO_T}$wx_cv_std_libpath" >&6
+
+-SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
++SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath @PREFIX@/lib"
+
+ if test "$build" != "$host" -a "$GCC" = yes; then
+ if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
@@ -26379,9 +26381,9 @@ echo "${ECHO_T}$ac_cv_header_png_h" >&6
@@ -98,7 +104,7 @@ $NetBSD: patch-aa,v 1.4 2012/01/27 06:07:48 sbd Exp $
PNG_LINK=" -lpng -lz"
fi
-@@ -39478,6 +39480,9 @@ echo "$as_me: WARNING: BeOS threads are
+@@ -39478,6 +39480,9 @@ echo "$as_me: WARNING: BeOS threads are
THREAD_OPTS="-mt $THREAD_OPTS"
fi
;;