Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 1999 15:10:08 -0700 (PDT)
From:      Ade Lovett <ade@lovett.com>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/13166: textproc/aspell uses ${OSREL}
Message-ID:  <199908162210.PAA11829@freefall.freebsd.org>

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

From: Ade Lovett <ade@lovett.com>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/13166: textproc/aspell uses ${OSREL}
Date: Mon, 16 Aug 1999 16:58:47 -0500

 Well, I took a quick peek at this one.  Unfortunately, the news
 is pretty grim.
 
 Changing OSVER to OSVERSION was the trivial part.  However, the
 dependency for anything other than -current on lang/egcs was
 a little out of date, since it's been changed to gcc-2.95
 
 ie:  the patch becomes:
 
 ---------------------------------------------------------------------------
 cvs diff -uN Makefile
 Index: Makefile
 ===================================================================
 RCS file: /home/FreeBSD/ports/textproc/aspell/Makefile,v
 retrieving revision 1.4
 diff -u -r1.4 Makefile
 --- Makefile    1999/04/23 22:45:13     1.4
 +++ Makefile    1999/08/16 21:40:05
 @@ -16,10 +16,10 @@
  MAINTAINER=    josh@quick.net
  
  .include <bsd.port.pre.mk>
 -.if ${OSREL} < 4
 -BUILD_DEPENDS= eg++:${PORTSDIR}/lang/egcs
 -CC=    egcc
 -CXX=   eg++
 +.if ${OSVERSION} < 400000
 +BUILD_DEPENDS= g++295:${PORTSDIR}/lang/egcs
 +CC=    gcc295
 +CXX=   g++295
  .endif
  
  GNU_CONFIGURE= yes
 ---------------------------------------------------------------------------
 
 Fixing this up completely breaks the compile, however.. almost
 immediately I get a very odd looking error (at least to me, I'm a C slasher,
 not C++ :)
 
 /bin/sh ../libtool --mode=compile g++295 -DLIBDIR=\"/usr/local/lib/aspell\" -I../    -O -pipe -I/usr/ports/textproc/aspell/work/aspell-.27.2 -c spell.cc
 g++295 -DLIBDIR=\"/usr/local/lib/aspell\" -I../ -O -pipe -I/usr/ports/textproc/aspell/work/aspell-.27.2 -c -fPIC -DPIC spell.cc
 In file included from aspell/i_data.hh:8,
                  from aspell/aspell.hh:10,
                  from spell.cc:2:
 aspell/i_iterator.hh: In method `const class type_info & virtual_forward_iterator_proxy<Value,Ref,Pointer,Difference>::id() const':
 aspell/i_iterator.hh:149: must #include <typeinfo> before using typeid
 ...
 
 bang!
 
 
 A quick trip to the home site later, I notice a new version floating
 around, make the necessary Makefile/md5/patch changes and try again.
 
 This one also barfs using gcc-2.95.  It compiles cleanly on -current
 with egcs, but generates a segfault when it tries to build the
 dictionaries.
 
 I've dropped a note to the author asking him to look into it, hopefully
 that will elicit a response sometime soon.
 
 For now, however, I'd suggest applying the above patch (it fixes the
 first two problems), and marking the port as BROKEN pending an update
 from the author.
 
 Being a glutton for punishment, I don't have a problem with taking
 over maintainership for the port (if no-one else wants to :), just
 bear in mind it may be "a while" before this port comes back into
 the land of the living.
 
 -aDe
 
 -- 
 Ade Lovett, Austin, TX.
 


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?199908162210.PAA11829>