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 | fd4917f91349081d4191cc6e937ad7793b23889a (patch) | |
tree | 8c55fb915abbbe2501ed40fb0183a4b9c4e8059d /chat/anope | |
parent | bb7f144cfa5a346a95f64ea959e9e9a92a9afeda (diff) | |
download | pkgsrc-fd4917f91349081d4191cc6e937ad7793b23889a.tar.gz |
Pass down correct flag for exporting symbols. Fix backtrace(3) linkage
on NetBSD current.
Diffstat (limited to 'chat/anope')
-rw-r--r-- | chat/anope/Makefile | 7 | ||||
-rw-r--r-- | chat/anope/distinfo | 3 | ||||
-rw-r--r-- | chat/anope/patches/patch-configure | 17 |
3 files changed, 25 insertions, 2 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: diff --git a/chat/anope/distinfo b/chat/anope/distinfo index f16ae03016a..9f362be59bf 100644 --- a/chat/anope/distinfo +++ b/chat/anope/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2012/02/16 13:39:26 hans Exp $ +$NetBSD: distinfo,v 1.7 2012/07/03 18:18:20 joerg Exp $ SHA1 (anope-1.7.21.tar.gz) = 1a8c845fcfd6351a4225fc8e38bb6e90f5201a4b RMD160 (anope-1.7.21.tar.gz) = ac2b22d60e6be2e7ea02e933fc005c5b3b206180 @@ -9,3 +9,4 @@ SHA1 (patch-ac) = d08a26c28b7e6130b7eb459a7109ad67160eb43d SHA1 (patch-ad) = 7b64822e486fa8673db8e47edc9b86c7183505c7 SHA1 (patch-ae) = 6c02aaa1d809e113338d35b672911269c1932d29 SHA1 (patch-af) = 1d874c5be0f624f2c83bd6d66be0ddc4ce29d3fe +SHA1 (patch-configure) = c151c6a87b04ecb35dc54b98425ad0027d70ea66 diff --git a/chat/anope/patches/patch-configure b/chat/anope/patches/patch-configure new file mode 100644 index 00000000000..e06a6ed821d --- /dev/null +++ b/chat/anope/patches/patch-configure @@ -0,0 +1,17 @@ +$NetBSD: patch-configure,v 1.1 2012/07/03 18:18:20 joerg Exp $ + +--- configure.orig 2012-07-03 10:07:01.000000000 +0000 ++++ configure +@@ -4367,9 +4367,9 @@ fi + + + hold_cflags=$CFLAGS +-CFLAGS="$CFLAGS -export-dynamic" +-{ echo "$as_me:$LINENO: checking if we need the -export-dynamic flag" >&5 +-echo $ECHO_N "checking if we need the -export-dynamic flag... $ECHO_C" >&6; } ++CFLAGS="$CFLAGS -Wl,--export-dynamic" ++{ echo "$as_me:$LINENO: checking if we need the -Wl,--export-dynamic flag" >&5 ++echo $ECHO_N "checking if we need the -Wl,--export-dynamic flag... $ECHO_C" >&6; } + if test "${ac_cv_export_dynamic+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else |