From c1c04500e67582acb66d012aa5f1005eeb6bef4a Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 9 May 2013 15:07:58 +0000 Subject: Don't try to explicitly link in libstdc++. --- textproc/cabocha/distinfo | 3 ++- textproc/cabocha/patches/patch-configure | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 textproc/cabocha/patches/patch-configure (limited to 'textproc/cabocha') diff --git a/textproc/cabocha/distinfo b/textproc/cabocha/distinfo index d8f1c3ebf69..ce1363ed006 100644 --- a/textproc/cabocha/distinfo +++ b/textproc/cabocha/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.4 2012/04/22 20:31:29 joerg Exp $ +$NetBSD: distinfo,v 1.5 2013/05/09 15:07:58 joerg Exp $ SHA1 (cabocha-0.53.tar.gz) = 6b8903aa6843887bb669d9d5baea8a0eae320d80 RMD160 (cabocha-0.53.tar.gz) = 39b637adc8b882542ecc3b6df34d8f6b99be3e38 Size (cabocha-0.53.tar.gz) = 11552551 bytes SHA1 (patch-aa) = cb868fa8b88180ed5f84d55796d042e5774862af SHA1 (patch-ab) = 3dcaae627c12a8ffc3595177768445335c5a3bd4 +SHA1 (patch-configure) = be6ea41b105f3d4c78b240cfc2ec8de6b604713f SHA1 (patch-src_cabocha.h) = 85bbf0da32677b7d4a33f1ef8d9aa7915fa1da1f SHA1 (patch-src_common.h) = 33a84611497ff0d98a6d9d9abaf0cd3ff60c3a83 diff --git a/textproc/cabocha/patches/patch-configure b/textproc/cabocha/patches/patch-configure new file mode 100644 index 00000000000..dce95a226be --- /dev/null +++ b/textproc/cabocha/patches/patch-configure @@ -0,0 +1,20 @@ +$NetBSD: patch-configure,v 1.1 2013/05/09 15:07:59 joerg Exp $ + +--- configure.orig 2013-05-09 15:00:15.000000000 +0000 ++++ configure +@@ -20635,6 +20635,7 @@ CABOCHA_DEFAULT_RC="$sysconfdir/cabochar + CABOCHA_TXTMODEL_LIST=`(cd model; echo *.txtmodel.gz)` + CABOCHA_MODEL_LIST=`(cd model; echo *.txtmodel.gz | sed s/.txtmodel.gz/.model/g)` + ++if false; then + echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 + echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6 + if test "${ac_cv_lib_stdcpp_main+set}" = set; then +@@ -20696,6 +20697,7 @@ echo "${ECHO_T}$ac_cv_lib_stdcpp_main" > + if test $ac_cv_lib_stdcpp_main = yes; then + STDCPP_LIBS="-lstdc++" + fi ++fi + + LIBS="$YAMCHA_LIBS $STDCPP_LIBS $LIBS" + CABOCHA_LIBS="$LIBS" -- cgit v1.2.3