From owner-freebsd-ports@FreeBSD.ORG Sun Dec 12 14:56:34 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC2A016A4CE for ; Sun, 12 Dec 2004 14:56:33 +0000 (GMT) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id B378343D45 for ; Sun, 12 Dec 2004 14:56:32 +0000 (GMT) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 9B8E5531F; Sun, 12 Dec 2004 15:56:31 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 01A0E5316; Sun, 12 Dec 2004 15:56:18 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id A66ACB873; Sun, 12 Dec 2004 15:56:18 +0100 (CET) To: Martin Spott References: <20041118145308.GA1770@isnix.plesnik.bonsai.de> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Sun, 12 Dec 2004 15:56:18 +0100 In-Reply-To: <20041118145308.GA1770@isnix.plesnik.bonsai.de> (Martin Spott's message of "Thu, 18 Nov 2004 15:53:08 +0100") Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.64 cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: FlightGear X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Dec 2004 14:56:34 -0000 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Martin Spott writes: > I am somehow involved in the FlightGear project and I am considering to > participate in maintaining the FreeBSD FlightGear port. Is there any > interest ? Not that I am a fabulous programmer but the skills should be > sufficient for such a job - I have some experience with building > FlightGear on not so common platforms. Do you have any influence at all on plib? Could you have them switch to installing shared libraries instead of static ones? All it takes is the attached patch + include ltmain.sh in the tarball. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=patch-shared --- autogen.sh.orig Sun Dec 12 15:40:53 2004 +++ autogen.sh Sun Dec 12 15:41:30 2004 @@ -2,11 +2,15 @@ OSTYPE=`uname -s` +LTFLAGS="--copy --force" + AMFLAGS="--add-missing" if test "$OSTYPE" = "IRIX" -o "$OSTYPE" = "IRIX64"; then AMFLAGS=$AMFLAGS" --include-deps"; fi +echo "Running libtoolize" +libtoolize $LTFLAGS echo "Running aclocal" aclocal echo "Running automake" --- configure.in.orig Sat Dec 11 20:47:13 2004 +++ configure.in Sat Dec 11 20:48:09 2004 @@ -36,7 +36,7 @@ AC_PROG_CXX AC_PROG_CXXCPP AC_PROG_INSTALL -AC_PROG_RANLIB +AC_PROG_LIBTOOL dnl Command line arguments @@ -242,8 +242,6 @@ dnl Checks for library functions. dnl check for OpenGL related libraries - -AC_CANONICAL_HOST case "${host}" in *-*-cygwin* | *-*-mingw32*) --- src/js/Makefile.am.orig Sat Jan 4 03:28:23 2003 +++ src/js/Makefile.am Sat Dec 11 20:46:48 2004 @@ -1,10 +1,10 @@ if BUILD_JS -lib_LIBRARIES = libplibjs.a +lib_LTLIBRARIES = libplibjs.la include_HEADERS = js.h -libplibjs_a_SOURCES = js.cxx jsLinux.cxx jsLinuxOld.cxx jsMacOS.cxx \ +libplibjs_la_SOURCES = js.cxx jsLinux.cxx jsLinuxOld.cxx jsMacOS.cxx \ jsMacOSX.cxx jsWindows.cxx jsBSD.cxx \ jsNone.cxx --- src/pw/Makefile.am.orig Sun Feb 15 21:29:34 2004 +++ src/pw/Makefile.am Sat Dec 11 20:46:48 2004 @@ -1,10 +1,10 @@ if BUILD_PW -lib_LIBRARIES = libplibpw.a +lib_LTLIBRARIES = libplibpw.la include_HEADERS = pw.h -libplibpw_a_SOURCES = pw.cxx pwX11.cxx pwWindows.cxx pwMacOSX.cxx +libplibpw_la_SOURCES = pw.cxx pwX11.cxx pwWindows.cxx pwMacOSX.cxx INCLUDES = -I$(top_srcdir)/src/util --- src/sg/Makefile.am.orig Sun Sep 1 00:21:21 2002 +++ src/sg/Makefile.am Sat Dec 11 20:46:48 2004 @@ -1,10 +1,10 @@ if BUILD_SG -lib_LIBRARIES = libplibsg.a +lib_LTLIBRARIES = libplibsg.la include_HEADERS = sg.h -libplibsg_a_SOURCES = sg.cxx sgd.cxx \ +libplibsg_la_SOURCES = sg.cxx sgd.cxx \ sgIsect.cxx sgdIsect.cxx \ sgPerlinNoise.cxx --- src/sl/Makefile.am.orig Sun Sep 1 00:34:05 2002 +++ src/sl/Makefile.am Sat Dec 11 20:46:48 2004 @@ -1,16 +1,16 @@ if BUILD_SL -lib_LIBRARIES = libplibsl.a libplibsm.a +lib_LTLIBRARIES = libplibsl.la libplibsm.la include_HEADERS = sl.h slPortability.h sm.h -libplibsl_a_SOURCES = \ +libplibsl_la_SOURCES = \ slDSP.cxx slSample.cxx slEnvelope.cxx \ slPlayer.cxx slMODPlayer.cxx slSamplePlayer.cxx \ slScheduler.cxx slMODdacio.cxx slMODfile.cxx \ slMODinst.cxx slMODnote.cxx slMODPrivate.h slMODfile.h -libplibsm_a_SOURCES = slPortability.h smMixer.cxx +libplibsm_la_SOURCES = slPortability.h smMixer.cxx INCLUDES = -I$(top_srcdir)/src/util --- src/fnt/Makefile.am.orig Mon Feb 16 04:13:22 2004 +++ src/fnt/Makefile.am Sat Dec 11 20:46:48 2004 @@ -1,10 +1,10 @@ if BUILD_FNT -lib_LIBRARIES = libplibfnt.a +lib_LTLIBRARIES = libplibfnt.la include_HEADERS = fnt.h -libplibfnt_a_SOURCES = fnt.cxx fntTXF.cxx fntLocal.h fntBitmap.cxx +libplibfnt_la_SOURCES = fnt.cxx fntTXF.cxx fntLocal.h fntBitmap.cxx INCLUDES = -I$(top_srcdir)/src/sg -I$(top_srcdir)/src/util --- src/net/Makefile.am.orig Sun Mar 21 17:37:41 2004 +++ src/net/Makefile.am Sat Dec 11 20:46:48 2004 @@ -1,11 +1,11 @@ if BUILD_NET -lib_LIBRARIES = libplibnet.a +lib_LTLIBRARIES = libplibnet.la include_HEADERS = netBuffer.h netChannel.h netChat.h netMessage.h \ netMonitor.h netSocket.h net.h -libplibnet_a_SOURCES = netBuffer.cxx netChannel.cxx netChat.cxx \ +libplibnet_la_SOURCES = netBuffer.cxx netChannel.cxx netChat.cxx \ netMessage.cxx netMonitor.cxx netSocket.cxx INCLUDES = -I$(top_srcdir)/src/util --- src/psl/Makefile.am.orig Wed Sep 11 00:22:37 2002 +++ src/psl/Makefile.am Sat Dec 11 20:46:48 2004 @@ -1,11 +1,11 @@ if BUILD_PSL -lib_LIBRARIES = libplibpsl.a +lib_LTLIBRARIES = libplibpsl.la include_HEADERS = psl.h -libplibpsl_a_SOURCES = psl.cxx pslCodeGen.cxx pslContext.cxx \ +libplibpsl_la_SOURCES = psl.cxx pslCodeGen.cxx pslContext.cxx \ pslCompiler.cxx pslSymbols.cxx pslToken.cxx \ pslExpression.cxx pslProgram.cxx pslDump.cxx \ pslError.cxx pslFileIO.cxx pslCompiler.h \ --- src/pui/Makefile.am.orig Sun Mar 21 19:56:55 2004 +++ src/pui/Makefile.am Sat Dec 11 20:46:48 2004 @@ -1,10 +1,10 @@ if BUILD_PUI -lib_LIBRARIES = libplibpu.a +lib_LTLIBRARIES = libplibpu.la include_HEADERS = pu.h puGLUT.h puFLTK.h puSDL.h puNative.h puPW.h -libplibpu_a_SOURCES = \ +libplibpu_la_SOURCES = \ pu.cxx puBox.cxx puButton.cxx puButtonBox.cxx \ puArrowButton.cxx puDialogBox.cxx puFrame.cxx puGroup.cxx \ puInput.cxx puInterface.cxx puLocal.h puMenuBar.cxx \ --- src/ssg/Makefile.am.orig Thu Jan 22 00:54:27 2004 +++ src/ssg/Makefile.am Sat Dec 11 20:46:48 2004 @@ -1,10 +1,10 @@ if BUILD_SSG -lib_LIBRARIES = libplibssg.a +lib_LTLIBRARIES = libplibssg.la include_HEADERS = ssg.h ssgconf.h ssgMSFSPalette.h ssgKeyFlier.h pcx.h -libplibssg_a_SOURCES = ssg.cxx ssgAnimation.cxx ssgBase.cxx \ +libplibssg_la_SOURCES = ssg.cxx ssgAnimation.cxx ssgBase.cxx \ ssgBaseTransform.cxx ssgBranch.cxx ssgContext.cxx ssgCutout.cxx \ ssgDList.cxx ssgEntity.cxx ssgIsect.cxx ssgLeaf.cxx ssgList.cxx \ ssgLoadDOF.cxx ssgLoadAC.cxx \ --- src/util/Makefile.am.orig Sun Sep 1 10:57:34 2002 +++ src/util/Makefile.am Sat Dec 11 20:46:48 2004 @@ -1,10 +1,10 @@ if BUILD_UL -lib_LIBRARIES = libplibul.a +lib_LTLIBRARIES = libplibul.la include_HEADERS = ul.h ulRTTI.h -libplibul_a_SOURCES = ul.cxx ulClock.cxx ulError.cxx ulLinkedList.cxx \ +libplibul_la_SOURCES = ul.cxx ulClock.cxx ulError.cxx ulLinkedList.cxx \ ulList.cxx ulLocal.h ulRTTI.cxx endif --- src/puAux/Makefile.am.orig Sun Mar 21 20:42:25 2004 +++ src/puAux/Makefile.am Sat Dec 11 20:46:48 2004 @@ -1,10 +1,10 @@ if BUILD_PUAUX -lib_LIBRARIES = libplibpuaux.a +lib_LTLIBRARIES = libplibpuaux.la include_HEADERS = puAux.h puAuxLocal.h -libplibpuaux_a_SOURCES = puAux.cxx \ +libplibpuaux_la_SOURCES = puAux.cxx \ puAuxBiSlider.cxx \ puAuxBiSliderWithEnds.cxx \ puAuxComboBox.cxx \ --- src/ssgAux/Makefile.am.orig Thu Jan 22 00:42:01 2004 +++ src/ssgAux/Makefile.am Sat Dec 11 20:46:48 2004 @@ -1,6 +1,6 @@ if BUILD_SSGAUX -lib_LIBRARIES = libplibssgaux.a +lib_LTLIBRARIES = libplibssgaux.la include_HEADERS = ssgAux.h \ ssgaShapes.h \ @@ -13,7 +13,7 @@ ssgaFire.h \ ssgaBillboards.h -libplibssgaux_a_SOURCES = ssgAux.cxx \ +libplibssgaux_la_SOURCES = ssgAux.cxx \ ssgaShapes.cxx \ ssgaPatch.cxx \ ssgaParticleSystem.cxx \ --=-=-=--