aboutsummaryrefslogtreecommitdiff
path: root/graphics/dynamechs
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-01-29 15:14:24 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-01-29 15:14:24 +0000
commitf13167c08841f87d194faecb15d50e2ac0320a61 (patch)
tree4d4189f87547bf4e0b094680a80f7e3dc809e02a /graphics/dynamechs
parentcb37a9dee50fe2adc28478f61b5060258e7695cd (diff)
downloadports-f13167c08841f87d194faecb15d50e2ac0320a61.tar.gz
ports-f13167c08841f87d194faecb15d50e2ac0320a61.zip
Notes
Diffstat (limited to 'graphics/dynamechs')
-rw-r--r--graphics/dynamechs/Makefile7
-rw-r--r--graphics/dynamechs/files/make.platform.freebsd2
2 files changed, 3 insertions, 6 deletions
diff --git a/graphics/dynamechs/Makefile b/graphics/dynamechs/Makefile
index d8036a201940..fb563992d0c8 100644
--- a/graphics/dynamechs/Makefile
+++ b/graphics/dynamechs/Makefile
@@ -19,20 +19,17 @@ MAINTAINER= ports@FreeBSD.org
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 --git a/graphics/dynamechs/files/make.platform.freebsd b/graphics/dynamechs/files/make.platform.freebsd
index cd55383e7ba4..bb72a9bbe9b9 100644
--- a/graphics/dynamechs/files/make.platform.freebsd
+++ b/graphics/dynamechs/files/make.platform.freebsd
@@ -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)