summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-02-16 05:44:04 +0000
committerjtb <jtb@pkgsrc.org>2001-02-16 05:44:04 +0000
commit8f523ed3788cb877e7e58b52dacf2876006fcfa5 (patch)
treeac3bbe90fcf971f53d252413c2b2e359c74a89c7
parent6fa086dab3a5e7b56943e1842057d2fb0ace2bc6 (diff)
downloadpkgsrc-8f523ed3788cb877e7e58b52dacf2876006fcfa5.tar.gz
Fix the configuration process to work with the current libtool. Back
out previous change. Thanks to Nick Hudson for pointing out the stupidity of my last change.
-rw-r--r--lang/cim/Makefile7
-rw-r--r--lang/cim/files/patch-sum3
-rw-r--r--lang/cim/patches/patch-aa31
3 files changed, 40 insertions, 1 deletions
diff --git a/lang/cim/Makefile b/lang/cim/Makefile
index 6176b3c322f..495f53ac2ce 100644
--- a/lang/cim/Makefile
+++ b/lang/cim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/02/15 22:10:18 skrll Exp $
+# $NetBSD: Makefile,v 1.5 2001/02/16 05:44:04 jtb Exp $
DISTNAME= cim-3.30
CATEGORIES= lang
@@ -7,6 +7,8 @@ MASTER_SITES= ${MASTER_SITE_GNU:=cim/}
MAINTAINER= jtb@netbsd.org
HOMEPAGE= http://www.gnu.org/software/cim/cim.html
+BUILD_DEPENDS+= ${LOCALBASE}/bin/autoreconf:../../devel/autoconf
+
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
@@ -14,4 +16,7 @@ USE_PERL5= YES
INFO_FILES= cim.info
+pre-configure:
+ cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf
+
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/cim/files/patch-sum b/lang/cim/files/patch-sum
new file mode 100644
index 00000000000..10df941ec5e
--- /dev/null
+++ b/lang/cim/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1 2001/02/16 05:44:05 jtb Exp $
+
+MD5 (patch-aa) = 95311390802eab2fb953846143f14b3c
diff --git a/lang/cim/patches/patch-aa b/lang/cim/patches/patch-aa
new file mode 100644
index 00000000000..352f7907264
--- /dev/null
+++ b/lang/cim/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1 2001/02/16 05:44:05 jtb Exp $
+
+--- aclocal.m4.orig Fri Feb 16 05:23:28 2001
++++ aclocal.m4
+@@ -30,7 +30,7 @@
+ [
+ AC_MSG_CHECKING(grepping libtool to find link_static_flag)
+ AC_CACHE_VAL(cim_cv_link_static_flag,[
+-eval `grep link_static_flag libtool`
++eval `grep ^link_static_flag libtool`
+ cim_cv_link_static_flag=$link_static_flag
+ ])
+ AC_MSG_RESULT($cim_cv_link_static_flag)
+@@ -41,7 +41,7 @@
+ [
+ AC_MSG_CHECKING(grepping libtool to find pic_flag)
+ AC_CACHE_VAL(cim_cv_pic_flag,[
+-eval `grep pic_flag libtool`
++eval `grep ^pic_flag libtool`
+ cim_cv_pic_flag=$pic_flag
+ ])
+ AC_MSG_RESULT($cim_cv_pic_flag)
+@@ -52,7 +52,7 @@
+ [
+ AC_MSG_CHECKING(grepping libtool to find wl_flag)
+ AC_CACHE_VAL(cim_cv_wl_flag,[
+-eval `grep wl= libtool`
++eval `grep ^wl= libtool`
+ cim_cv_wl_flag=$pic_flag
+ ])
+ AC_MSG_RESULT($cim_cv_wl_flag)