aboutsummaryrefslogtreecommitdiff
path: root/devel/bullet
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-09-22 16:11:09 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-09-22 16:11:09 +0000
commit74a7b90a8072bc5e12e136cc2e1824b528816d02 (patch)
treeac8556cec859091240eb24d0827f574b4e021960 /devel/bullet
parent051379ce4d6b889eb70106f7e420b56c959ab76d (diff)
downloadports-74a7b90a8072bc5e12e136cc2e1824b528816d02.tar.gz
ports-74a7b90a8072bc5e12e136cc2e1824b528816d02.zip
Build shared libraries needed by upcoming devel/efl
PR: 193438 Approved by: maintainer timeout (2 weeks)
Notes
Notes: svn path=/head/; revision=368969
Diffstat (limited to 'devel/bullet')
-rw-r--r--devel/bullet/Makefile13
-rw-r--r--devel/bullet/pkg-plist12
2 files changed, 11 insertions, 14 deletions
diff --git a/devel/bullet/Makefile b/devel/bullet/Makefile
index b746d0251684..a26a9e30c992 100644
--- a/devel/bullet/Makefile
+++ b/devel/bullet/Makefile
@@ -3,9 +3,8 @@
PORTNAME= bullet
PORTVERSION= 2.82
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
-PORTREVISION= 1
MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}-${PORTVERSION}-${SVN_COMMIT}
@@ -18,9 +17,9 @@ USE_GL= gl glu glut
USE_XORG= x11
USES= cmake tar:tgz
+CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -pthread
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-${SVN_COMMIT}
@@ -30,12 +29,6 @@ SVN_COMMIT= r2704
OPTIONS_DEFINE= DOCS
-.include <bsd.port.pre.mk>
-
-.if (${ARCH} == "amd64") || (${ARCH} == "ia64")
-CFLAGS+= -DUSE_ADDR64
-.endif
-
post-patch:
@${REINPLACE_CMD} -e "s|{OPENGL_glu_LIBRARY}|{OPENGL_glu_LIBRARY} -lcompat|g" ${WRKSRC}/Demos/AllBulletDemos/CMakeLists.txt
@@ -45,4 +38,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/BulletLicense.txt ${STAGEDIR}/${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}/${DOCSDIR}/CHANGELOG
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/bullet/pkg-plist b/devel/bullet/pkg-plist
index d18d617ca617..ddc32b91e1b1 100644
--- a/devel/bullet/pkg-plist
+++ b/devel/bullet/pkg-plist
@@ -229,10 +229,14 @@ include/bullet/vectormath/sse/vectormath_aos.h
include/bullet/vectormath/vmInclude.h
lib/cmake/bullet/BulletConfig.cmake
lib/cmake/bullet/UseBullet.cmake
-lib/libBulletCollision.a
-lib/libBulletDynamics.a
-lib/libBulletSoftBody.a
-lib/libLinearMath.a
+lib/libBulletCollision.so
+lib/libBulletCollision.so.2.82
+lib/libBulletDynamics.so
+lib/libBulletDynamics.so.2.82
+lib/libBulletSoftBody.so
+lib/libBulletSoftBody.so.2.82
+lib/libLinearMath.so
+lib/libLinearMath.so.2.82
libdata/pkgconfig/bullet.pc
@dirrmtry lib/cmake/bullet
@dirrmtry lib/cmake