Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Dec 2001 11:01:48 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/32610: Update port: devel/autogen to 5.2.12
Message-ID:  <200112081901.fB8J1mP95385@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         32610
>Category:       ports
>Synopsis:       Update port: devel/autogen to 5.2.12
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 08 11:10:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 5.2.12

New file:
files/patch-config:ltmain.sh
files/patch-snprintfv:config:ltmain.sh

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/devel/autogen/Makefile devel/autogen/Makefile
--- /usr/ports/devel/autogen/Makefile	Wed Oct 31 22:40:53 2001
+++ devel/autogen/Makefile	Fri Dec  7 02:59:09 2001
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	autogen
-PORTVERSION=	5.2.11
+PORTVERSION=	5.2.12
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -18,18 +18,17 @@
 LIB_DEPENDS=	guile.9:${PORTSDIR}/lang/guile
 
 USE_GMAKE=	yes
-USE_LIBTOOL=	yes
-LIBTOOLFILES=	configure snprintfv/configure
-CONFIGURE_TARGET=	# none
+GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib"
 INSTALLS_SHLIB=	yes
 
 MAN1=	autogen.1 columns.1 getdefs.1
 
 pre-patch:
+	@${PERL} -pi -e 's|regcomp=no|regcomp=yes|g' ${WRKSRC}/configure
 	@${PERL} -pi -e 's|values.h ||g' ${WRKSRC}/snprintfv/configure
-
-pre-build:
-	@${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}/libtool
-	@${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}/snprintfv/libtool
+	@${PERL} -pi -e 's|#include "proto.h"||g' ${WRKSRC}/getdefs/getdefs.h
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/autogen/distinfo devel/autogen/distinfo
--- /usr/ports/devel/autogen/distinfo	Wed Oct 31 22:40:54 2001
+++ devel/autogen/distinfo	Thu Dec  6 03:21:56 2001
@@ -1 +1 @@
-MD5 (autogen-5.2.11.tar.gz) = 42b2c62182dff09b207f2ece92c9be05
+MD5 (autogen-5.2.12.tar.gz) = 980d1b028bf2e21f017688f48dff9aed
diff -urN /usr/ports/devel/autogen/files/patch-config:ltmain.sh devel/autogen/files/patch-config:ltmain.sh
--- /usr/ports/devel/autogen/files/patch-config:ltmain.sh	Thu Jan  1 09:00:00 1970
+++ devel/autogen/files/patch-config:ltmain.sh	Thu Dec  6 03:25:01 2001
@@ -0,0 +1,25 @@
+--- config/ltmain.sh.orig	Mon Sep  3 18:24:41 2001
++++ config/ltmain.sh	Thu Dec  6 03:24:42 2001
+@@ -2408,6 +2408,9 @@
+ 	  *-*-netbsd*)
+ 	    # Don't link with libc until the a.out ld.so is fixed.
+ 	    ;;
++	  *-*-freebsd*)
++	    # FreeBSD doesn't need this...
++	    ;;
+ 	  *)
+ 	    # Add libc to deplibs on all other systems if necessary.
+ 	    if test $build_libtool_need_lc = "yes"; then
+@@ -4175,10 +4178,12 @@
+ 	fi
+ 
+ 	# Install the pseudo-library for information purposes.
++	if /usr/bin/false; then
+ 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ 	instname="$dir/$name"i
+ 	$show "$install_prog $instname $destdir/$name"
+ 	$run eval "$install_prog $instname $destdir/$name" || exit $?
++	fi
+ 
+ 	# Maybe install the static library, too.
+ 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff -urN /usr/ports/devel/autogen/files/patch-snprintfv:config:ltmain.sh devel/autogen/files/patch-snprintfv:config:ltmain.sh
--- /usr/ports/devel/autogen/files/patch-snprintfv:config:ltmain.sh	Thu Jan  1 09:00:00 1970
+++ devel/autogen/files/patch-snprintfv:config:ltmain.sh	Thu Dec  6 03:26:05 2001
@@ -0,0 +1,25 @@
+--- snprintfv/config/ltmain.sh.orig	Mon Sep  3 18:24:41 2001
++++ snprintfv/config/ltmain.sh	Thu Dec  6 03:25:35 2001
+@@ -2408,6 +2408,9 @@
+ 	  *-*-netbsd*)
+ 	    # Don't link with libc until the a.out ld.so is fixed.
+ 	    ;;
++	  *-*-freebsd*)
++	    # FreeBSD doesn't need this...
++	    ;;
+ 	  *)
+ 	    # Add libc to deplibs on all other systems if necessary.
+ 	    if test $build_libtool_need_lc = "yes"; then
+@@ -4175,10 +4178,12 @@
+ 	fi
+ 
+ 	# Install the pseudo-library for information purposes.
++	if /usr/bin/false; then
+ 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ 	instname="$dir/$name"i
+ 	$show "$install_prog $instname $destdir/$name"
+ 	$run eval "$install_prog $instname $destdir/$name" || exit $?
++	fi
+ 
+ 	# Maybe install the static library, too.
+ 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff -urN /usr/ports/devel/autogen/pkg-plist devel/autogen/pkg-plist
--- /usr/ports/devel/autogen/pkg-plist	Wed Oct 31 22:40:55 2001
+++ devel/autogen/pkg-plist	Thu Dec  6 03:29:46 2001
@@ -10,15 +10,12 @@
 @exec install-info %D/info/autogen.info %D/info/dir
 @exec install-info %D/info/snprintfv.info %D/info/dir
 lib/libguileopts.a
-lib/libguileopts.la
 lib/libguileopts.so
 lib/libguileopts.so.0
 lib/libopts.a
-lib/libopts.la
 lib/libopts.so
 lib/libopts.so.11
 lib/libsnprintfv.a
-lib/libsnprintfv.la
 lib/libsnprintfv.so
 lib/libsnprintfv.so.1
 share/aclocal/autoopts.m4

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112081901.fB8J1mP95385>