diff options
author | wiz <wiz@pkgsrc.org> | 2012-06-16 23:05:41 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-06-16 23:05:41 +0000 |
commit | e09b3a6cc2f8394d35e5897d32788fa4c73529ee (patch) | |
tree | 757b3d937da9add1e74a2eed452ba0d053201b8d /x11 | |
parent | 3befd71e57f88cda59855531ec1f1790c7262a50 (diff) | |
download | pkgsrc-e09b3a6cc2f8394d35e5897d32788fa4c73529ee.tar.gz |
Fix build on NetBSD-current with libexecinfo.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/wxGTK28/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/x11/wxGTK28/Makefile b/x11/wxGTK28/Makefile index a0efface566..51c85ec3f57 100644 --- a/x11/wxGTK28/Makefile +++ b/x11/wxGTK28/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2012/06/14 07:44:20 sbd Exp $ +# $NetBSD: Makefile,v 1.22 2012/06/16 23:05:41 wiz Exp $ # .include "../../x11/wxGTK28/Makefile.common" @@ -29,5 +29,12 @@ post-build: post-install: ${INSTALL_DATA} ${WRKSRC}/docs/licence.txt ${DESTDIR}${DOCDIR} +.include "../../mk/bsd.prefs.mk" + +# for backtrace +.if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h) +LIBS+= -lexecinfo +.endif + .include "../../mk/oss.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |