Tue Feb 28 15:11:39 2012 UTC ()
REPLACE_SH in the wx-config script.

Fixes a problem seen with ksh93 on SunOS.


(hans)
diff -r1.12 -r1.13 pkgsrc/x11/wxGTK26/Makefile
diff -r1.18 -r1.19 pkgsrc/x11/wxGTK28/Makefile

cvs diff -r1.12 -r1.13 pkgsrc/x11/wxGTK26/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/x11/wxGTK26/Attic/Makefile 2012/02/06 12:42:27 1.12
+++ pkgsrc/x11/wxGTK26/Attic/Makefile 2012/02/28 15:11:39 1.13
@@ -1,21 +1,23 @@ @@ -1,21 +1,23 @@
1# $NetBSD: Makefile,v 1.12 2012/02/06 12:42:27 wiz Exp $ 1# $NetBSD: Makefile,v 1.13 2012/02/28 15:11:39 hans Exp $
2# 2#
3 3
4.include "Makefile.common" 4.include "Makefile.common"
5 5
6PKGREVISION= 13 6PKGREVISION= 13
7COMMENT= GTK-based implementation of the wxWidgets GUI library 7COMMENT= GTK-based implementation of the wxWidgets GUI library
8 8
 9REPLACE_SH= wx-config.in wx-config-inplace.in
 10
9post-build: 11post-build:
10 set -e; cd ${WRKSRC}/locale; \ 12 set -e; cd ${WRKSRC}/locale; \
11 for lang in ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk \ 13 for lang in ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk \
12 zh_CN zh_TW; do \ 14 zh_CN zh_TW; do \
13 ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \ 15 ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \
14 done 16 done
15 set -e; cd ${WRKSRC}/locale/msw; \ 17 set -e; cd ${WRKSRC}/locale/msw; \
16 for lang in it; do \ 18 for lang in it; do \
17 ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \ 19 ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \
18 done 20 done
19 21
20post-install: 22post-install:
21 ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} 23 ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}

cvs diff -r1.18 -r1.19 pkgsrc/x11/wxGTK28/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/x11/wxGTK28/Attic/Makefile 2012/02/06 12:42:28 1.18
+++ pkgsrc/x11/wxGTK28/Attic/Makefile 2012/02/28 15:11:39 1.19
@@ -1,28 +1,30 @@ @@ -1,28 +1,30 @@
1# $NetBSD: Makefile,v 1.18 2012/02/06 12:42:28 wiz Exp $ 1# $NetBSD: Makefile,v 1.19 2012/02/28 15:11:39 hans Exp $
2# 2#
3 3
4.include "../../x11/wxGTK28/Makefile.common" 4.include "../../x11/wxGTK28/Makefile.common"
5 5
6PKGREVISION= 15 6PKGREVISION= 15
7 7
8PKGNAME= ${DISTNAME:S/wxGTK/wxGTK28/} 8PKGNAME= ${DISTNAME:S/wxGTK/wxGTK28/}
9COMMENT= GTK-based implementation of the wxWidgets GUI library 9COMMENT= GTK-based implementation of the wxWidgets GUI library
10 10
11BUILD_TARGET= all 11BUILD_TARGET= all
12INSTALL_TARGET= install 12INSTALL_TARGET= install
13 13
14INSTALLATION_DIRS= ${DOCDIR} 14INSTALLATION_DIRS= ${DOCDIR}
15 15
 16REPLACE_SH= wx-config.in wx-config-inplace.in
 17
16post-build: 18post-build:
17 set -e; cd ${WRKSRC}/locale; \ 19 set -e; cd ${WRKSRC}/locale; \
18 for lang in `echo *.po` ; do \ 20 for lang in `echo *.po` ; do \
19 [ $${lang} = "wxstd.po" ] && continue; \ 21 [ $${lang} = "wxstd.po" ] && continue; \
20 ${TOOLS_PATH.msgfmt} -c -o $${lang%.po}.mo $${lang}; \ 22 ${TOOLS_PATH.msgfmt} -c -o $${lang%.po}.mo $${lang}; \
21 done 23 done
22 set -e; cd ${WRKSRC}/locale/msw; \ 24 set -e; cd ${WRKSRC}/locale/msw; \
23 for lang in it; do \ 25 for lang in it; do \
24 ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \ 26 ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \
25 done 27 done
26 28
27post-install: 29post-install:
28 ${INSTALL_DATA} ${WRKSRC}/docs/licence.txt ${DESTDIR}${DOCDIR} 30 ${INSTALL_DATA} ${WRKSRC}/docs/licence.txt ${DESTDIR}${DOCDIR}