Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jul 1999 14:53:51 -0700 (PDT)
From:      "Brian W. Buchanan" <brian@CSUA.Berkeley.EDU>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12553: fixes to plib and flightgear for 3.2-STABLE
Message-ID:  <Pine.BSF.4.05.9907071452240.66346-100000@smarter.than.nu>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.pre.mk>
 
 .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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>


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


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?Pine.BSF.4.05.9907071452240.66346-100000>