aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-09-23 00:11:09 +0800
committertijl <tijl@FreeBSD.org>2014-09-23 00:11:09 +0800
commit07a167a8a534bb13a82bf4fb92d75c197fc17c49 (patch)
treeac8556cec859091240eb24d0827f574b4e021960
parent60601f7a768ebf3cfcc23291163de2416833dc55 (diff)
downloadfreebsd-ports-gnome-07a167a8a534bb13a82bf4fb92d75c197fc17c49.tar.gz
freebsd-ports-gnome-07a167a8a534bb13a82bf4fb92d75c197fc17c49.tar.zst
freebsd-ports-gnome-07a167a8a534bb13a82bf4fb92d75c197fc17c49.zip
Build shared libraries needed by upcoming devel/efl
PR: 193438 Approved by: maintainer timeout (2 weeks)
-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