aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2008-01-29 20:58:24 +0000
committerAde Lovett <ade@FreeBSD.org>2008-01-29 20:58:24 +0000
commitb05e90bcbdb8748416e6be33d7dedbb705167bbd (patch)
tree4339f4e744dbcc554aa4af9432b1f6791c711f2f /net-mgmt
parentcf4aafd3c73af55d9dd539afca860bd20896f0dc (diff)
downloadports-b05e90bcbdb8748416e6be33d7dedbb705167bbd.tar.gz
ports-b05e90bcbdb8748416e6be33d7dedbb705167bbd.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/cacti-spine/Makefile6
-rw-r--r--net-mgmt/cacti-spine/files/patch-configure66
2 files changed, 69 insertions, 3 deletions
diff --git a/net-mgmt/cacti-spine/Makefile b/net-mgmt/cacti-spine/Makefile
index bec25cb30f7c..2eb35fc2eaf4 100644
--- a/net-mgmt/cacti-spine/Makefile
+++ b/net-mgmt/cacti-spine/Makefile
@@ -23,10 +23,10 @@ USE_OPENSSL= YES
USE_AUTOTOOLS= libtool:15
post-patch:
-.for file in config.guess config.sub ltmain.sh
- @${RM} -v ${WRKSRC}/config/${file}
- @${LN} -fs ${LIBTOOL_SHAREDIR}/${file} ${WRKSRC}/config/${file}
+.for file in config.guess config.sub ltmain.sh
+ @${LN} -fs ${LIBTOOL_SHAREDIR}/${file} ${WRKSRC}/config/${file}
.endfor
+ @${LN} -fs ${LIBTOOL} ${WRKSRC}/libtool
@${REINPLACE_CMD} 's,#define\ *DEFAULT_CONF_FILE .*,#define DEFAULT_CONF_FILE "${PREFIX}/etc/spine.conf",' ${WRKSRC}/spine.h
do-install:
diff --git a/net-mgmt/cacti-spine/files/patch-configure b/net-mgmt/cacti-spine/files/patch-configure
new file mode 100644
index 000000000000..e2cdc389f1aa
--- /dev/null
+++ b/net-mgmt/cacti-spine/files/patch-configure
@@ -0,0 +1,66 @@
+--- configure.orig 2007-11-25 19:40:21.000000000 -0800
++++ configure 2008-01-29 12:55:30.000000000 -0800
+@@ -7141,63 +7141,2 @@
+
+-# Check if we have a version mismatch between libtool.m4 and ltmain.sh.
+-#
+-# Note: This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
+-# We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
+-# calls AC_LIBTOOL_CONFIG and creates libtool.
+-#
+-{ echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
+-echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6; }
+-if test "x$ltmain" = "x" ; then
+- { echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6; }
+- { { echo "$as_me:$LINENO: error:
+-
+-*** [Gentoo] sanity check failed! ***
+-*** \$ltmain is not defined, please check the patch for consistency! ***
+-" >&5
+-echo "$as_me: error:
+-
+-*** [Gentoo] sanity check failed! ***
+-*** \$ltmain is not defined, please check the patch for consistency! ***
+-" >&2;}
+- { (exit 1); exit 1; }; }
+-fi
+-gentoo_lt_version="1.5.22"
+-gentoo_ltmain_version=`sed -n '/^[ ]*VERSION=/{s/^[ ]*VERSION=//;p;q;}' "$ltmain"`
+-if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
+- { echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6; }
+- { { echo "$as_me:$LINENO: error:
+-
+-*** [Gentoo] sanity check failed! ***
+-*** libtool.m4 and ltmain.sh have a version mismatch! ***
+-*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
+-
+-Please run:
+-
+- libtoolize --copy --force
+-
+-if appropriate, please contact the maintainer of this
+-package (or your distribution) for help.
+-" >&5
+-echo "$as_me: error:
+-
+-*** [Gentoo] sanity check failed! ***
+-*** libtool.m4 and ltmain.sh have a version mismatch! ***
+-*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
+-
+-Please run:
+-
+- libtoolize --copy --force
+-
+-if appropriate, please contact the maintainer of this
+-package (or your distribution) for help.
+-" >&2;}
+- { (exit 1); exit 1; }; }
+-else
+- { echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6; }
+-fi
+-
+-
+ # Use C for the default configuration in the libtool script