Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2005 16:02:25 +0100
From:      "Kay Lehmann" <kay_lehmann@web.de>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/76815: graphics/dynamechs: Unbreak it for 5-stable-systems
Message-ID:  <1107010945.0@bippes.finkenkrug.ev>
Resent-Message-ID: <200501291500.j0TF0Crh069075@freefall.freebsd.org>

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

>Number:         76815
>Category:       ports
>Synopsis:       graphics/dynamechs: Unbreak it for 5-stable-systems
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 29 15:00:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Kay Lehmann
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:


System: FreeBSD 5.3-STABLE #2: Sat Jan  8 18:28:41 CET 2005
    root@bippes.finkenkrug.ev:/usr/obj/usr/src/sys/bippes



>Description:


Fix Compilation and make portlint a little bit happier.
Not included in the diff:
Maybe it would be good to move it to a different location
maybe science, because it is more meant for research I
think.


>How-To-Repeat:





>Fix:


--- graphics__dynamechs.patch begins here ---
diff -urN dynamechs.orig/Makefile dynamechs/Makefile
--- dynamechs.orig/Makefile	Sat Jan 29 15:34:43 2005
+++ dynamechs/Makefile	Sat Jan 29 15:26:35 2005
@@ -19,19 +19,16 @@
 COMMENT=	A Multibody Dynamic Simulation Library
 
 USE_BZIP2=	yes
-USE_MESA=	yes
+USE_GL=		yes
 USE_GMAKE=	yes
 MAKE_ENV=	OPENGLINCDIR="${X11BASE}/include" \
 		OPENGLLIBDIR="${X11BASE}/lib" \
 		CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS}" \
 		LDFLAGS="${PTHREAD_LIBS}"
 ALL_TARGET=	freebsd
+INSTALLS_SHLIB=	yes
 
 .include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN=		"Does not compile (bad C++ code)"
-.endif
 
 do-configure:
 	@${CP} -f ${FILESDIR}/make.platform.freebsd ${WRKSRC}/make/
diff -urN dynamechs.orig/files/make.platform.freebsd dynamechs/files/make.platform.freebsd
--- dynamechs.orig/files/make.platform.freebsd	Sat Jan 29 15:34:43 2005
+++ dynamechs/files/make.platform.freebsd	Sat Jan 29 14:56:56 2005
@@ -1,4 +1,4 @@
-CXXFLAGS += -D_BOOL -c -fPIC -D_POSIX_C_SOURCE=199506L -I/$(OPENGLINCDIR)
+CXXFLAGS += -D_BOOL -c -fPIC -I/$(OPENGLINCDIR)
 # -pthreads
 DEPENDFLAGS := $(CXXFLAGS)
 
--- graphics__dynamechs.patch ends here ---



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1107010945.0>