From alex@vaio.alexdupre.com  Sun Apr 21 08:32:00 2002
Return-Path: <alex@vaio.alexdupre.com>
Received: from vaio.alexdupre.com (212-41-211-209.adsl.galactica.it [212.41.211.209])
	by hub.freebsd.org (Postfix) with ESMTP id EE53737B400
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Apr 2002 08:31:58 -0700 (PDT)
Received: from vaio.alexdupre.com (localhost [127.0.0.1])
	by vaio.alexdupre.com (8.12.2/8.12.2) with ESMTP id g3LFZxM2033318
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Apr 2002 17:35:59 +0200 (CEST)
	(envelope-from alex@vaio.alexdupre.com)
Received: (from alex@localhost)
	by vaio.alexdupre.com (8.12.2/8.12.2/Submit) id g3LFZxHM033317;
	Sun, 21 Apr 2002 17:35:59 +0200 (CEST)
Message-Id: <200204211535.g3LFZxHM033317@vaio.alexdupre.com>
Date: Sun, 21 Apr 2002 17:35:59 +0200 (CEST)
From: Alex Dupre <sysadmin@alexdupre.com>
Reply-To: Alex Dupre <sysadmin@alexdupre.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [Patch] textproc/pspell-ispell (Makefile cleanup & use libtool)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         37319
>Category:       ports
>Synopsis:       [Patch] textproc/pspell-ispell (Makefile cleanup & use libtool)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 21 08:40:01 PDT 2002
>Closed-Date:    Sat Oct 26 04:52:53 PDT 2002
>Last-Modified:  Sat Oct 26 04:52:53 PDT 2002
>Originator:     Alex Dupre
>Release:        FreeBSD 4.5-ALEXDUPRE i386
>Organization:
>Environment:
System: FreeBSD vaio.alexdupre.com 4.5-ALEXDUPRE FreeBSD 4.5-ALEXDUPRE #0: Fri Apr 12 14:12:57 CEST 2002 alex@vaio.alexdupre.com:/usr/obj/usr/src/sys/VAIO i386


	
>Description:
Removed obsolete variables
Use freebsd libtool (not patch ltmain.sh)
	
>How-To-Repeat:
	
>Fix:

	

--- pspell-ispell.diff begins here ---
diff -ruN pspell-ispell.orig/Makefile pspell-ispell/Makefile
--- pspell-ispell.orig/Makefile	Sun Apr 21 16:30:44 2002
+++ pspell-ispell/Makefile	Sun Apr 21 16:31:27 2002
@@ -18,11 +18,10 @@
 BUILD_DEPENDS=	ispell:${PORTSDIR}/textproc/ispell
 LIB_DEPENDS=	pspell.4:${PORTSDIR}/textproc/pspell
 
-USE_NEWGCC=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib"
+USE_LIBTOOL=	yes
+LIBTOOLFILES=	aclocal.m4
 INSTALLS_SHLIB=	yes
 
 .include <bsd.port.mk>
diff -ruN pspell-ispell.orig/files/patch-ltmain.sh pspell-ispell/files/patch-ltmain.sh
--- pspell-ispell.orig/files/patch-ltmain.sh	Sun Apr 21 16:30:44 2002
+++ pspell-ispell/files/patch-ltmain.sh	Thu Jan  1 01:00:00 1970
@@ -1,25 +0,0 @@
---- ltmain.sh.orig	Wed May  2 08:58:17 2001
-+++ ltmain.sh	Sun Dec 30 00:09:59 2001
-@@ -2749,6 +2749,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
-@@ -4645,10 +4648,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"
--- pspell-ispell.diff ends here ---


>Release-Note:
>Audit-Trail:

From: Alex Dupre <sysadmin@alexdupre.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/37319: [Patch] textproc/pspell-ispell (Makefile cleanup & use 
 libtool)
Date: Sun, 28 Apr 2002 15:31:19 +0200

 My mistake:
 
 LIBTOOLFILES=aclocal.m4
 
 is wrong and should be removed.
State-Changed-From-To: open->feedback 
State-Changed-By: ijliao 
State-Changed-When: Fri May 31 02:23:40 PDT 2002 
State-Changed-Why:  
make configure error : 

creating libtool 
updating cache ./config.cache 
loading cache ./config.cache 
ltconfig: unrecognized option `--add-tag=CXX' 
Try `ltconfig --help' for more information. 
configure: error: libtool tag configuration failed 


http://www.freebsd.org/cgi/query-pr.cgi?pr=37319 
State-Changed-From-To: feedback->closed 
State-Changed-By: arved 
State-Changed-When: Sat Oct 26 04:52:12 PDT 2002 
State-Changed-Why:  
Feedback timeout (nearly 5 months) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37319 
>Unformatted:
