ports/155457: [UPDATE] textproc/link-grammar to 4.7.4

Olivier Duchateau duchateau.olivier at gmail.com
Fri Mar 11 09:20:11 UTC 2011


>Number:         155457
>Category:       ports
>Synopsis:       [UPDATE] textproc/link-grammar to 4.7.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 11 09:20:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Duchateau
>Release:        FreeBSD 8.2-RELEASE
>Organization:
>Environment:
FreeBSD bornem.errements.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
There's a problem with Aspell, by defaults it's enabled. But binary is not linked with it (see excerpt of configure log below)

[...]
checking for ASPELL... yes
checking aspell.h usability... yes
checking aspell.h presence... yes
checking for aspell.h... yes
checking for new_aspell_config in -laspell... no
[...]

And at the end:

[...]
link-grammar-4.7.4

  prefix:                         /usr/local
  compiler:                       cc  -DUSE_PTHREADS=1 -O2 -pipe  -fno-strict-al
iasing -std=gnu99 -std=c99 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
  autopackage:                    no
  Posix threads:                  yes
  Editline command-line history:  no
  Java interfaces:                no
  ASpell spell checker:           no
  HunSpell spell checker:         no
  HunSpell dictionary location:
  Boolean SAT solver:             no
  Corpus statistics database:     no
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -u /usr/ports/textproc/link-grammar/Makefile link-grammar/Makefile
--- /usr/ports/textproc/link-grammar/Makefile	2010-12-04 08:33:48.000000000 +0100
+++ link-grammar/Makefile	2011-03-10 20:35:09.000000000 +0100
@@ -6,14 +6,18 @@
 #
 
 PORTNAME=	link-grammar
-PORTVERSION=	4.5.10
+PORTVERSION=	4.7.4
 CATEGORIES=	textproc
-MASTER_SITES=	http://www.abisource.com/downloads/${PORTNAME}/${PORTVERSION}/
+MASTER_SITES=	http://www.abisource.com/downloads/%SUBDIR%/
+MASTER_SITE_SUBDIR=	${PORTNAME}/${PORTVERSION}
+DIST_SUBDIR=	AbiWord
 
 MAINTAINER=	gnome at FreeBSD.org
 COMMENT=	A grammar checking library
 
-USE_GNOME=	gnomehack gnometarget ltverhack
+LIB_DEPENDS=	pspell.16:${PORTSDIR}/textproc/aspell
+
+USE_GNOME=	gnomehack ltverhack pkgconfig
 USE_GMAKE=	yes
 USE_AUTOTOOLS=	libtool
 USE_LDCONFIG=	yes
@@ -21,7 +25,12 @@
 USE_CSTD=	gnu99
 CFLAGS+=	${PTHREAD_CFLAGS}
 CONFIGURE_ARGS=	--enable-pthreads \
-		--disable-java-bindings
+		--disable-java-bindings \
+		--disable-hunspell \
+		--enable-aspell
+CONFIGURE_ENV+=	ASPELL_CFLAGS="-I${LOCALBASE}/include" \
+		ASPELL_LIBS="-L${LOCALBASE}/lib" \
+		ac_cv_prog_AWK="${AWK}"
 MAKE_JOBS_UNSAFE=	yes
 
 DOCS=		AUTHORS LICENSE MAINTAINERS README
diff -u /usr/ports/textproc/link-grammar/distinfo link-grammar/distinfo
--- /usr/ports/textproc/link-grammar/distinfo	2009-09-08 23:41:11.000000000 +0200
+++ link-grammar/distinfo	2011-03-05 16:05:27.000000000 +0100
@@ -1,3 +1,2 @@
-MD5 (link-grammar-4.5.10.tar.gz) = dccbc17df807e6e57119fc7b17e7d962
-SHA256 (link-grammar-4.5.10.tar.gz) = e9de45d537310fd8b8d5d775bd91f0330563e66ff315327eb3208662f2f4e036
-SIZE (link-grammar-4.5.10.tar.gz) = 1069973
+SHA256 (AbiWord/link-grammar-4.7.4.tar.gz) = 272eccb95a66bdaae57e6daa281c00bc9ddf615e624e94b7e6dc686ba10c242d
+SIZE (AbiWord/link-grammar-4.7.4.tar.gz) = 1215549
Only in /usr/ports/textproc/link-grammar/: files
diff -u /usr/ports/textproc/link-grammar/pkg-plist link-grammar/pkg-plist
--- /usr/ports/textproc/link-grammar/pkg-plist	2009-09-08 23:41:11.000000000 +0200
+++ link-grammar/pkg-plist	2011-03-05 16:05:27.000000000 +0100
@@ -42,6 +42,7 @@
 %%DATADIR%%/en/words/words-medical.v.4.1
 %%DATADIR%%/en/words/words-medical.v.4.2
 %%DATADIR%%/en/words/words-medical.v.4.3
+%%DATADIR%%/en/words/words-medical.v.4.4
 %%DATADIR%%/en/words/words-medical.v.4.5
 %%DATADIR%%/en/words/words.adj.1
 %%DATADIR%%/en/words/words.adj.2
@@ -49,13 +50,15 @@
 %%DATADIR%%/en/words/words.adv.1
 %%DATADIR%%/en/words/words.adv.2
 %%DATADIR%%/en/words/words.adv.3
+%%DATADIR%%/en/words/words.adv.4
 %%DATADIR%%/en/words/words.n.1
+%%DATADIR%%/en/words/words.n.1.wiki
 %%DATADIR%%/en/words/words.n.2.s
 %%DATADIR%%/en/words/words.n.2.s.biolg
+%%DATADIR%%/en/words/words.n.2.s.wiki
 %%DATADIR%%/en/words/words.n.2.x
+%%DATADIR%%/en/words/words.n.2.x.wiki
 %%DATADIR%%/en/words/words.n.3
-%%DATADIR%%/en/words/words.n.4
-%%DATADIR%%/en/words/words.n.4.biolg
 %%DATADIR%%/en/words/words.n.t
 %%DATADIR%%/en/words/words.v.1.1
 %%DATADIR%%/en/words/words.v.1.2


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



More information about the freebsd-ports-bugs mailing list