Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 15:30:03 -0700 (PDT)
From:      Thierry Thomas <thierry@pompo.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/42700: gtkhtml build fails due to aspell failure
Message-ID:  <200209122230.g8CMU33p099804@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/42700; it has been noted by GNATS.

From: Thierry Thomas <thierry@pompo.net>
To: Joe Kelsey <joek@unx48.staff.flyingcroc.net>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/42700: gtkhtml build fails due to aspell failure
Date: Fri, 13 Sep 2002 00:23:15 +0200

 Le 12/09/2002 à 17:57:39 +0200, Joe Kelsey <joek@unx48.staff.flyingcroc.net> écrivait :
 > 
 > >Number:         42700
 > >Category:       ports
 > >Synopsis:       gtkhtml build fails due to aspell failure
  
 8<   8<   8<
 
 > >Description:
 > 	gtkhtml build depends on aspell, which apparantly has a serious
 > 	error in rebuilding the libtool.  I cannot figure out why it
 > 	should fail this way.  I was trying to update to the latest
 > 	gnome2 packages with portupgrade -r pkgconfig.
 
 I cannot reproduce this problem, but I have received this patch from
 KATO Tsuguru, and it might solve your problem.
 
 Description:
 - Remove BUILD_DEPENDS for shells/bash2
 - Remove unused USE_REINPLACE
 - Support USE_LIBTOOL properly.
 
 New file:
 files/patch-configure
 
 Credits:
 KATO Tsuguru <dai_fugo@geocities.co.jp>
 
 diff -urN /usr/ports/textproc/aspell.orig/Makefile /usr/ports/textproc/aspell/Makefile
 --- /usr/ports/textproc/aspell.orig/Makefile	Wed Sep 11 21:39:59 2002
 +++ /usr/ports/textproc/aspell/Makefile	Thu Sep 12 23:14:37 2002
 @@ -7,7 +7,7 @@
  
  PORTNAME?=	aspell
  PORTVERSION=	0.50.1
 -PORTREVISION=	1
 +PORTREVISION=	2
  CATEGORIES+=	textproc
  MASTER_SITES=	http://savannah.gnu.org/download/${PORTNAME}/rel/	\
  		${MASTER_SITE_GNU}
 @@ -17,16 +17,15 @@
  
  MAINTAINER?=	thierry@pompo.net
  
 -BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash2
  .if !exists(/usr/bin/bzip2)
  BUILD_DEPENDS+=	bzip2:${PORTSDIR}/archivers/bzip2
  .endif
  
  USE_LIBTOOL=	yes
 +CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
  CONFIGURE_ARGS=	--enable-dict-dir=${DATADIR} \
  		--enable-doc-dir=${DOCSDIR}
  USE_GMAKE=	yes
 -USE_REINPLACE=	yes
  
  MAKE_ARGS=	NOPORTDOCS=${NOPORTDOCS}
  INSTALLS_SHLIB=	yes
 diff -urN /usr/ports/textproc/aspell.orig/files/patch-Makefile.in /usr/ports/textproc/aspell/files/patch-Makefile.in
 --- /usr/ports/textproc/aspell.orig/files/patch-Makefile.in	Sun Aug 25 21:11:24 2002
 +++ /usr/ports/textproc/aspell/files/patch-Makefile.in	Thu Sep 12 23:10:05 2002
 @@ -1,15 +1,11 @@
 ---- Makefile.in.orig	Thu Aug 22 23:43:45 2002
 -+++ Makefile.in	Sun Aug 25 21:10:23 2002
 -@@ -96,7 +96,11 @@
 +--- Makefile.in.orig	Wed Aug 28 17:02:39 2002
 ++++ Makefile.in	Fri Sep 13 03:16:33 2002
 +@@ -97,7 +97,7 @@
   
   AUTOMAKE_OPTIONS = foreign
   
  -SUBDIRS = auto common modules lib examples prog data scripts interfaces manual
 -+ifndef NOPORTDOCS
 -+MANUALSUBDIR = manual
 -+endif
 -+
 -+SUBDIRS = auto common modules lib examples prog data scripts interfaces $(MANUALSUBDIR)
 ++SUBDIRS = auto common modules lib prog data scripts interfaces manual
   
   EXTRA_DIST = README
   subdir = .
 diff -urN /usr/ports/textproc/aspell.orig/files/patch-configure /usr/ports/textproc/aspell/files/patch-configure
 --- /usr/ports/textproc/aspell.orig/files/patch-configure	Thu Jan  1 01:00:00 1970
 +++ /usr/ports/textproc/aspell/files/patch-configure	Thu Sep 12 23:10:05 2002
 @@ -0,0 +1,22 @@
 +--- configure.orig	Wed Aug 28 17:02:51 2002
 ++++ configure	Fri Sep 13 02:59:38 2002
 +@@ -157,9 +157,9 @@
 + 
 + 
 + 
 +-tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
 ++#tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
 + 
 +-tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
 ++#tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
 + 
 + if expr a : '\(a\)' >/dev/null 2>&1; then
 +   as_expr=expr
 +@@ -16819,6 +16819,7 @@
 + 
 + # This can be used to rebuild libtool when needed
 + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
 ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
 + 
 + # Always use our own libtool.
 + LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 diff -urN /usr/ports/textproc/aspell.orig/pkg-plist /usr/ports/textproc/aspell/pkg-plist
 --- /usr/ports/textproc/aspell.orig/pkg-plist	Tue Sep 10 22:40:29 2002
 +++ /usr/ports/textproc/aspell/pkg-plist	Thu Sep 12 23:10:05 2002
 @@ -5,13 +5,13 @@
  bin/word-list-compress
  include/aspell.h
  include/pspell/pspell.h
 +lib/libaspell-common.a
  lib/libaspell-common-%%PORTVERSION%%.so
 -lib/libaspell-common.la
  lib/libaspell-common.so
 -lib/libaspell.la
 +lib/libaspell.a
  lib/libaspell.so
  lib/libaspell.so.15
 -lib/libpspell.la
 +lib/libpspell.a
  lib/libpspell.so
  lib/libpspell.so.15
  share/aspell/ASCII.dat
 
 
 
 -- 
 Th. Thomas.

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?200209122230.g8CMU33p099804>