From 9811ac1bd7d3b56291706080e5b6d0b6be899bd2 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Sun, 5 Oct 2014 10:06:35 +0000 Subject: Patch configure to avoid dependency on devel/libtool --- devel/liblangtag/Makefile | 1 - devel/liblangtag/files/patch-configure | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 devel/liblangtag/files/patch-configure diff --git a/devel/liblangtag/Makefile b/devel/liblangtag/Makefile index f7582a0bbc23..4b00f19d0261 100644 --- a/devel/liblangtag/Makefile +++ b/devel/liblangtag/Makefile @@ -15,7 +15,6 @@ LICENSE_COMB= dual LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 GNU_CONFIGURE= yes -USE_AUTOTOOLS= libtoolize USE_LDCONFIG= yes USES= gmake iconv libtool pathfix pkgconfig tar:bzip2 INSTALL_TARGET= install-strip diff --git a/devel/liblangtag/files/patch-configure b/devel/liblangtag/files/patch-configure new file mode 100644 index 000000000000..15d45acf0f26 --- /dev/null +++ b/devel/liblangtag/files/patch-configure @@ -0,0 +1,15 @@ +--- configure.orig 2014-05-21 03:36:23 UTC ++++ configure +@@ -14651,11 +14651,7 @@ MODULE_LIBS= + if test "x$enable_modules" != "xno"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the suffix of module shared libraries" >&5 + $as_echo_n "checking for the suffix of module shared libraries... " >&6; } +- export SED +- shrext_cmds=`libtool --config | grep '^shrext_cmds='` +- eval $shrext_cmds +- module=yes eval std_shrext=$shrext_cmds +- lt_module_suffix=`echo $std_shrext | sed 's/^\.//'` ++ lt_module_suffix=so + { $as_echo "$as_me:${as_lineno-$LINENO}: result: .$lt_module_suffix" >&5 + $as_echo ".$lt_module_suffix" >&6; } + if test "x$lt_module_suffix" = x; then -- cgit v1.2.3