Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 2002 17:35:59 +0200 (CEST)
From:      Alex Dupre <sysadmin@alexdupre.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/37319: [Patch] textproc/pspell-ispell (Makefile cleanup & use libtool)
Message-ID:  <200204211535.g3LFZxHM033317@vaio.alexdupre.com>

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

>Number:         37319
>Category:       ports
>Synopsis:       [Patch] textproc/pspell-ispell (Makefile cleanup & use libtool)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 21 08:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>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?200204211535.g3LFZxHM033317>