From owner-freebsd-ports Wed Jul 7 15: 0: 6 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 B54461544E for ; Wed, 7 Jul 1999 15:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA53654; Wed, 7 Jul 1999 15:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from beach.silcom.com (beach.silcom.com [199.201.128.19]) by hub.freebsd.org (Postfix) with ESMTP id 9A9FD14D4C for ; Wed, 7 Jul 1999 14:53:58 -0700 (PDT) (envelope-from brian@CSUA.Berkeley.EDU) Received: from smarter.than.nu (pm0-29.vpop1.avtel.net [207.71.237.29]) by beach.silcom.com (Postfix) with ESMTP id 882024E6 for ; Wed, 7 Jul 1999 14:53:51 -0700 (PDT) Message-Id: Date: Wed, 7 Jul 1999 14:53:51 -0700 (PDT) From: "Brian W. Buchanan" To: FreeBSD-gnats-submit@freebsd.org Subject: ports/12553: fixes to plib and flightgear for 3.2-STABLE Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12553 >Category: ports >Synopsis: plib and flightgear ports need minor fixes >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 7 15:00:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Brian Buchanan >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: >Description: The port makefiles for x11-toolkits/plib and games/flightgear require some minor modifications to get them to build correctly under most 3.2-STABLE systems. Also, the ports need to depend on libstdc++2.8 when built under 3.2, but I couldn't figure out the best way to do this, as it seems that lang/glibstdc++ doesn't install a shared library, or at least there isn't one in its PLIST. libstdc++2.8 also depends on gcc 2.8, but the original comitter for the plib and flightgear ports decided plib should depend on egcs. I'm not sure that we want to make people install two new compilers just to build a flight sim, and I'm also not even sure that libstdc++ built with gcc 2.8.1 will link with object files built by egcs. I don't have a working 3.2-STABLE box handy, so I'll have to let you ports folks figure this one out. :) >How-To-Repeat: >Fix: Apply the following patches, and apply the correct solution to the libstdc++/gcc2.8/egcs dependancy issues (probably as simple as changing the ports to have a build depend on g++28 instead of egcs, and chosing an appropriate file to check for the libstdc++2.8 dependancy). Thanks. --- x11-toolkits/plib/Makefile.orig Wed Jul 7 13:22:41 1999 +++ x11-toolkits/plib/Makefile Wed Jul 7 13:39:12 1999 @@ -23,7 +23,7 @@ .include .if ${OSVERSION} < 400003 -RUN_DEPENDS= eg++:${PORTSDIR}/lang/egcs +BUILD_DEPENDS= eg++:${PORTSDIR}/lang/egcs CXX= eg++ .endif --- games/flightgear/Makefile.orig Wed Jul 7 13:39:23 1999 +++ games/flightgear/Makefile Wed Jul 7 13:41:59 1999 @@ -22,6 +22,13 @@ FLIGHTGEAR_VERSION= 0.6.1 +.include + +.if ${OSVERSION} < 400003 +BUILD_DEPENDS+= eg++:${PORTSDIR}/lang/egcs +CXX= eg++ +.endif + .if defined(BUILD_SCENERY_TOOLS) MASTER_SITES+= ftp://ftp.cs.man.ac.uk/pub/amurta/ DISTFILES+= gfc-0.8.8.1b.tar.gz gpc231.tar.Z @@ -66,4 +73,4 @@ post-install: ${MV} ${PREFIX}/FlightGear/bin/runfgfs ${PREFIX}/bin -.include +.include >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message