From owner-freebsd-ports Mon Aug 16 15:11: 9 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3A11414C13 for ; Mon, 16 Aug 1999 15:11:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA11829; Mon, 16 Aug 1999 15:10:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 16 Aug 1999 15:10:08 -0700 (PDT) Message-Id: <199908162210.PAA11829@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Ade Lovett Subject: Re: ports/13166: textproc/aspell uses ${OSREL} Reply-To: Ade Lovett Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/13166; it has been noted by GNATS. From: Ade Lovett 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 -.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::id() const': aspell/i_iterator.hh:149: must #include 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