Add explicit dependency to ensure relinking is done in the correct order.diff -r1.30 -r1.31 pkgsrc/x11/wxGTK26/Makefile
(joerg)
@@ -1,23 +1,26 @@ | @@ -1,23 +1,26 @@ | |||
1 | # $NetBSD: Makefile,v 1.30 2014/06/09 14:18:09 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.31 2014/12/10 14:02:31 joerg Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | .include "Makefile.common" | 4 | .include "Makefile.common" | |
5 | 5 | |||
6 | PKGREVISION= 28 | 6 | PKGREVISION= 28 | |
7 | COMMENT= GTK-based implementation of the wxWidgets GUI library | 7 | COMMENT= GTK-based implementation of the wxWidgets GUI library | |
8 | 8 | |||
9 | REPLACE_SH= wx-config.in wx-config-inplace.in | 9 | REPLACE_SH= wx-config.in wx-config-inplace.in | |
10 | 10 | |||
11 | post-configure: | |||
12 | echo 'install_qadll: install_xmldll' >> ${WRKSRC}/Makefile | |||
13 | ||||
11 | post-build: | 14 | post-build: | |
12 | set -e; cd ${WRKSRC}/locale; \ | 15 | set -e; cd ${WRKSRC}/locale; \ | |
13 | for lang in ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk \ | 16 | for lang in ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk \ | |
14 | zh_CN zh_TW; do \ | 17 | zh_CN zh_TW; do \ | |
15 | ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \ | 18 | ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \ | |
16 | done | 19 | done | |
17 | set -e; cd ${WRKSRC}/locale/msw; \ | 20 | set -e; cd ${WRKSRC}/locale/msw; \ | |
18 | for lang in it; do \ | 21 | for lang in it; do \ | |
19 | ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \ | 22 | ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \ | |
20 | done | 23 | done | |
21 | 24 | |||
22 | post-install: | 25 | post-install: | |
23 | ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} | 26 | ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} |
@@ -1,29 +1,33 @@ | @@ -1,29 +1,33 @@ | |||
1 | # $NetBSD: Makefile,v 1.40 2014/06/09 14:18:09 ryoon Exp $ | 1 | # $NetBSD: Makefile,v 1.41 2014/12/10 14:02:32 joerg Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | .include "../../x11/wxGTK28/Makefile.common" | 4 | .include "../../x11/wxGTK28/Makefile.common" | |
5 | 5 | |||
6 | PKGNAME= ${DISTNAME:S/wxGTK/wxGTK28/} | 6 | PKGNAME= ${DISTNAME:S/wxGTK/wxGTK28/} | |
7 | PKGREVISION= 7 | 7 | PKGREVISION= 7 | |
8 | COMMENT= GTK-based implementation of the wxWidgets GUI library | 8 | COMMENT= GTK-based implementation of the wxWidgets GUI library | |
9 | 9 | |||
10 | BUILD_TARGET= all | 10 | BUILD_TARGET= all | |
11 | INSTALL_TARGET= install | 11 | INSTALL_TARGET= install | |
12 | 12 | |||
13 | INSTALLATION_DIRS= ${DOCDIR} | 13 | INSTALLATION_DIRS= ${DOCDIR} | |
14 | 14 | |||
15 | REPLACE_SH= wx-config.in wx-config-inplace.in | 15 | REPLACE_SH= wx-config.in wx-config-inplace.in | |
16 | 16 | |||
17 | post-configure: | |||
18 | echo 'install_qadll: install_xmldll' >> ${WRKSRC}/build-unicode/Makefile | |||
19 | echo 'install_qadll: install_xmldll' >> ${WRKSRC}/build-non-unicode/Makefile | |||
20 | ||||
17 | post-build: | 21 | post-build: | |
18 | set -e; cd ${WRKSRC}/locale; \ | 22 | set -e; cd ${WRKSRC}/locale; \ | |
19 | for lang in *.po; do \ | 23 | for lang in *.po; do \ | |
20 | [ "$${lang}" = "wxstd.po" ] && continue; \ | 24 | [ "$${lang}" = "wxstd.po" ] && continue; \ | |
21 | ${TOOLS_PATH.msgfmt} -c -o "$${lang%.po}.mo" "$${lang}"; \ | 25 | ${TOOLS_PATH.msgfmt} -c -o "$${lang%.po}.mo" "$${lang}"; \ | |
22 | done | 26 | done | |
23 | set -e; cd ${WRKSRC}/locale/msw; \ | 27 | set -e; cd ${WRKSRC}/locale/msw; \ | |
24 | for lang in it; do \ | 28 | for lang in it; do \ | |
25 | ${TOOLS_PATH.msgfmt} -c -o "$${lang}.mo" "$${lang}.po"; \ | 29 | ${TOOLS_PATH.msgfmt} -c -o "$${lang}.mo" "$${lang}.po"; \ | |
26 | done | 30 | done | |
27 | 31 | |||
28 | post-install: | 32 | post-install: | |
29 | ${INSTALL_DATA} ${WRKSRC}/docs/licence.txt ${DESTDIR}${DOCDIR} | 33 | ${INSTALL_DATA} ${WRKSRC}/docs/licence.txt ${DESTDIR}${DOCDIR} |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2014/09/19 08:35:41 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2014/12/10 14:02:32 joerg Exp $ | |
2 | 2 | |||
3 | VERSION= 3.0.1 | 3 | VERSION= 3.0.1 | |
4 | PKGREVISION= 3 | 4 | PKGREVISION= 3 | |
5 | DISTNAME= wxWidgets-${VERSION} | 5 | DISTNAME= wxWidgets-${VERSION} | |
6 | PKGNAME= wxGTK30-${VERSION} | 6 | PKGNAME= wxGTK30-${VERSION} | |
7 | CATEGORIES= x11 | 7 | CATEGORIES= x11 | |
8 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxwindows/} | 8 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxwindows/} | |
9 | EXTRACT_SUFX= .tar.bz2 | 9 | EXTRACT_SUFX= .tar.bz2 | |
10 | 10 | |||
11 | MAINTAINER= dbj@NetBSD.org | 11 | MAINTAINER= dbj@NetBSD.org | |
12 | HOMEPAGE= http://www.wxwidgets.org/ | 12 | HOMEPAGE= http://www.wxwidgets.org/ | |
13 | COMMENT= GTK-based implementation of the wxWidgets GUI library | 13 | COMMENT= GTK-based implementation of the wxWidgets GUI library | |
14 | # LGPLv2 with additional permission; http://opensource.org/licenses/wxwindows | 14 | # LGPLv2 with additional permission; http://opensource.org/licenses/wxwindows | |
@@ -50,26 +50,29 @@ SUBST_CLASSES+= fix-paths | @@ -50,26 +50,29 @@ SUBST_CLASSES+= fix-paths | |||
50 | SUBST_STAGE.fix-paths= pre-configure | 50 | SUBST_STAGE.fix-paths= pre-configure | |
51 | SUBST_MESSAGE.fix-paths= Fixing absolute paths. | 51 | SUBST_MESSAGE.fix-paths= Fixing absolute paths. | |
52 | SUBST_FILES.fix-paths= configure | 52 | SUBST_FILES.fix-paths= configure | |
53 | SUBST_SED.fix-paths= -e 's,/usr/pkg/include,${PREFIX}/include,g' | 53 | SUBST_SED.fix-paths= -e 's,/usr/pkg/include,${PREFIX}/include,g' | |
54 | SUBST_SED.fix-paths+= -e 's,@PREFIX@,${PREFIX},g' | 54 | SUBST_SED.fix-paths+= -e 's,@PREFIX@,${PREFIX},g' | |
55 | 55 | |||
56 | .include "../../mk/bsd.prefs.mk" | 56 | .include "../../mk/bsd.prefs.mk" | |
57 | 57 | |||
58 | PLIST_VARS+= notdarwin | 58 | PLIST_VARS+= notdarwin | |
59 | .if ${OPSYS} != "Darwin" | 59 | .if ${OPSYS} != "Darwin" | |
60 | PLIST.notdarwin= yes | 60 | PLIST.notdarwin= yes | |
61 | .endif | 61 | .endif | |
62 | 62 | |||
63 | post-configure: | |||
64 | echo 'install_qadll: install_xmldll' >> ${WRKSRC}/Makefile | |||
65 | ||||
63 | post-build: | 66 | post-build: | |
64 | set -e; cd ${WRKSRC}/locale; \ | 67 | set -e; cd ${WRKSRC}/locale; \ | |
65 | for lang in *.po; do \ | 68 | for lang in *.po; do \ | |
66 | [ "$${lang}" = "wxstd.po" ] && continue; \ | 69 | [ "$${lang}" = "wxstd.po" ] && continue; \ | |
67 | ${TOOLS_PATH.msgfmt} -c -o "$${lang%.po}.mo" "$${lang}"; \ | 70 | ${TOOLS_PATH.msgfmt} -c -o "$${lang%.po}.mo" "$${lang}"; \ | |
68 | done | 71 | done | |
69 | set -e; cd ${WRKSRC}/locale/msw; \ | 72 | set -e; cd ${WRKSRC}/locale/msw; \ | |
70 | for lang in it; do \ | 73 | for lang in it; do \ | |
71 | ${TOOLS_PATH.msgfmt} -c -o "$${lang}.mo" "$${lang}.po"; \ | 74 | ${TOOLS_PATH.msgfmt} -c -o "$${lang}.mo" "$${lang}.po"; \ | |
72 | done | 75 | done | |
73 | 76 | |||
74 | post-install: | 77 | post-install: | |
75 | ${INSTALL_DATA} ${WRKSRC}/docs/licence.txt ${DESTDIR}${PREFIX}/${DOCDIR} | 78 | ${INSTALL_DATA} ${WRKSRC}/docs/licence.txt ${DESTDIR}${PREFIX}/${DOCDIR} |