Thu Apr 17 21:28:15 2014 UTC ()
Link against libexecinfo on FreeBSD too. Fixes build on FreeBSD 10.


(asau)
diff -r1.27 -r1.28 pkgsrc/x11/wxGTK26/Makefile

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

--- pkgsrc/x11/wxGTK26/Attic/Makefile 2013/10/10 14:41:46 1.27
+++ pkgsrc/x11/wxGTK26/Attic/Makefile 2014/04/17 21:28:15 1.28
@@ -1,32 +1,32 @@ @@ -1,32 +1,32 @@
1# $NetBSD: Makefile,v 1.27 2013/10/10 14:41:46 ryoon Exp $ 1# $NetBSD: Makefile,v 1.28 2014/04/17 21:28:15 asau Exp $
2# 2#
3 3
4.include "Makefile.common" 4.include "Makefile.common"
5 5
6PKGREVISION= 26 6PKGREVISION= 26
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 9REPLACE_SH= wx-config.in wx-config-inplace.in
10 10
11post-build: 11post-build:
12 set -e; cd ${WRKSRC}/locale; \ 12 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 \ 13 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 \ 14 zh_CN zh_TW; do \
15 ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \ 15 ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \
16 done 16 done
17 set -e; cd ${WRKSRC}/locale/msw; \ 17 set -e; cd ${WRKSRC}/locale/msw; \
18 for lang in it; do \ 18 for lang in it; do \
19 ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \ 19 ${TOOLS_PATH.msgfmt} -c -o $${lang}.mo $${lang}.po; \
20 done 20 done
21 21
22post-install: 22post-install:
23 ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} 23 ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
24 ${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${DESTDIR}${DOCDIR}/LICENSE 24 ${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${DESTDIR}${DOCDIR}/LICENSE
25 25
26# for backtrace 26# for backtrace
27.if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h) 27.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD") && exists(/usr/include/execinfo.h)
28LIBS+= -lexecinfo 28LIBS+= -lexecinfo
29.endif 29.endif
30 30
31.include "../../mk/oss.buildlink3.mk" 31.include "../../mk/oss.buildlink3.mk"
32.include "../../mk/bsd.pkg.mk" 32.include "../../mk/bsd.pkg.mk"