diff options
author | joerg <joerg@pkgsrc.org> | 2012-07-03 18:18:20 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-07-03 18:18:20 +0000 |
commit | 1f276d0d040933846d1fdb538afa772ada697fb3 (patch) | |
tree | 8c55fb915abbbe2501ed40fb0183a4b9c4e8059d /chat/anope/Makefile | |
parent | 2183ae1bb824cb173b94b56669f2cff2a4924311 (diff) | |
download | pkgsrc-1f276d0d040933846d1fdb538afa772ada697fb3.tar.gz |
Pass down correct flag for exporting symbols. Fix backtrace(3) linkage
on NetBSD current.
Diffstat (limited to 'chat/anope/Makefile')
-rw-r--r-- | chat/anope/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chat/anope/Makefile b/chat/anope/Makefile index 8d78ef6a49f..fab3ad7bee7 100644 --- a/chat/anope/Makefile +++ b/chat/anope/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2010/06/25 08:58:38 obache Exp $ +# $NetBSD: Makefile,v 1.10 2012/07/03 18:18:20 joerg Exp $ DISTNAME= anope-1.7.21 CATEGORIES= chat @@ -64,6 +64,11 @@ SUBST_MESSAGE.utils= Fixing hardcoded utilities. .include "../../mk/pthread.buildlink3.mk" +# for backtrace +.if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h) +LDFLAGS+= -lexecinfo +.endif + INSTALLATION_DIRS+= share/doc/anope share/examples/anope lib/anope/modules post-install: |