Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2002 12:42:56 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/35794: Update port: textproc/pspell-ispell
Message-ID:  <200203112042.g2BKguB98888@freefall.freebsd.org>

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

>Number:         35794
>Category:       ports
>Synopsis:       Update port: textproc/pspell-ispell
>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:   Mon Mar 11 12:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Do not install useless .la file

New file:
files/patch-ltmain.sh

Remove file:
files/patch-aa

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/textproc/pspell-ispell/Makefile textproc/pspell-ispell/Makefile
--- /usr/ports/textproc/pspell-ispell/Makefile	Wed Dec 12 05:44:02 2001
+++ textproc/pspell-ispell/Makefile	Sun Dec 30 00:02:56 2001
@@ -7,10 +7,11 @@
 
 PORTNAME=	pspell-ispell
 PORTVERSION=	0.12
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	pspell
-DISTNAME=	${PORTNAME}-.12
+DISTNAME=	${PORTNAME}-${PORTVERSION:S/^0//}
 
 MAINTAINER=	ports@FreeBSD.org
 
@@ -18,10 +19,10 @@
 LIB_DEPENDS=	pspell.4:${PORTSDIR}/textproc/pspell
 
 USE_NEWGCC=	yes
-USE_LIBTOOL=	yes
 USE_GMAKE=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib"
 INSTALLS_SHLIB=	yes
-CONFIGURE_ENV+=	CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
-		LIBS="-L${LOCALBASE}/lib" LIBTOOL="${LIBTOOL}"
 
 .include <bsd.port.mk>
diff -urN /usr/ports/textproc/pspell-ispell/files/patch-aa textproc/pspell-ispell/files/patch-aa
--- /usr/ports/textproc/pspell-ispell/files/patch-aa	Wed Dec 12 05:44:05 2001
+++ textproc/pspell-ispell/files/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,29 +0,0 @@
---- configure.orig	Tue May 29 23:04:03 2001
-+++ configure	Mon Dec 10 16:48:26 2001
-@@ -2237,7 +2237,7 @@
- objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
- deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
- ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
--$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
-+$libtool_flags --build="$build" $ac_aux_dir/ltmain.sh $host \
- || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
- 
- # Reload cache, that may have been modified by ltconfig
-@@ -2254,7 +2254,7 @@
- LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
- 
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+LIBTOOL=${LIBTOOL}
- 
- # Redirect the config.log output again, so that the ltconfig log is not
- # clobbered by the next message.
-@@ -2273,7 +2273,7 @@
- deplibs_check_method="$deplibs_check_method" \
- file_magic_cmd="$file_magic_cmd" \
- ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
----build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
-+--build="$build" $ac_aux_dir/ltcf-cxx.sh $host \
- || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; }
- CC="$lt_save_CC"
- CFLAGS="$lt_save_CFLAGS"
diff -urN /usr/ports/textproc/pspell-ispell/files/patch-ltmain.sh textproc/pspell-ispell/files/patch-ltmain.sh
--- /usr/ports/textproc/pspell-ispell/files/patch-ltmain.sh	Thu Jan  1 09:00:00 1970
+++ textproc/pspell-ispell/files/patch-ltmain.sh	Sun Dec 30 00:10:10 2001
@@ -0,0 +1,25 @@
+--- 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"

>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?200203112042.g2BKguB98888>