aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/wxgtk29
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2006-11-29 01:53:36 +0800
committerfjoe <fjoe@FreeBSD.org>2006-11-29 01:53:36 +0800
commit9e2c612a95e8f788084d4064e7035a6aeba62e54 (patch)
treedb8b757b7531e34438821aab329b0b7d7941a23e /x11-toolkits/wxgtk29
parent17071bab074e131c67e4c7ca6cff4d98bbdeb36e (diff)
downloadfreebsd-ports-gnome-9e2c612a95e8f788084d4064e7035a6aeba62e54.tar.gz
freebsd-ports-gnome-9e2c612a95e8f788084d4064e7035a6aeba62e54.tar.zst
freebsd-ports-gnome-9e2c612a95e8f788084d4064e7035a6aeba62e54.zip
- Fix wxgtk2-2.6-config and wxgtk2u-2.6-config when HOME is not set --
execute /bin/sh instead of bash in this case. - Bump PORTREVISION PR: 105561
Diffstat (limited to 'x11-toolkits/wxgtk29')
-rw-r--r--x11-toolkits/wxgtk29/Makefile1
-rw-r--r--x11-toolkits/wxgtk29/files/patch-wx-config.in25
2 files changed, 23 insertions, 3 deletions
diff --git a/x11-toolkits/wxgtk29/Makefile b/x11-toolkits/wxgtk29/Makefile
index 5f168618aeef..7cb920ef7080 100644
--- a/x11-toolkits/wxgtk29/Makefile
+++ b/x11-toolkits/wxgtk29/Makefile
@@ -51,6 +51,7 @@ PLIST= ${.CURDIR}/pkg-plist
WXGTK_FLAVOR?= gtk2
.if ${WXGTK_FLAVOR} == "gtk2"
+PORTREVISION= 1
CONFLICTS= wxgtk2-contrib-devel-2.5.2*
.endif
diff --git a/x11-toolkits/wxgtk29/files/patch-wx-config.in b/x11-toolkits/wxgtk29/files/patch-wx-config.in
index 434032d26493..a36b094b2dad 100644
--- a/x11-toolkits/wxgtk29/files/patch-wx-config.in
+++ b/x11-toolkits/wxgtk29/files/patch-wx-config.in
@@ -1,6 +1,25 @@
---- wx-config.in.orig Thu Apr 21 00:32:34 2005
-+++ wx-config.in Thu May 5 16:36:09 2005
-@@ -1142,7 +1142,7 @@
+--- wx-config.in.orig Wed Mar 22 05:42:05 2006
++++ wx-config.in Tue Nov 28 23:49:30 2006
+@@ -25,15 +25,15 @@
+
+ if [ ~ = '~' ]
+ then
+- if (bash -c echo) >/dev/null 2>&1
++ if (/bin/sh -c echo) >/dev/null 2>&1
+ then
+- exec bash "$0" "$@"
++ exec /bin/sh "$0" "$@"
+ fi
+ if (ksh -c echo) >/dev/null 2>&1
+ then
+ exec ksh "$0" "$@"
+ fi
+- echo "$0: this script requires bash or ksh"
++ echo "$0: this script requires bourne shell or ksh"
+ exit 1
+ fi
+
+@@ -1143,7 +1143,7 @@
_include_cppflags="-I${includedir} -I${prefix}/contrib/include"
fi