Date: Tue, 14 Feb 2017 14:14:16 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434086 - in head/devel: ode ode/files py-ode Message-ID: <201702141414.v1EEEGuR073865@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tijl Date: Tue Feb 14 14:14:16 2017 New Revision: 434086 URL: https://svnweb.freebsd.org/changeset/ports/434086 Log: - Remove -fPIC and configure with --enable-shared instead, as recommended by bindings/python/INSTALL.txt. - Use pathfix and TEST_TARGET. Deleted: head/devel/ode/files/ Modified: head/devel/ode/Makefile head/devel/ode/pkg-plist head/devel/py-ode/Makefile Modified: head/devel/ode/Makefile ============================================================================== --- head/devel/ode/Makefile Tue Feb 14 14:08:25 2017 (r434085) +++ head/devel/ode/Makefile Tue Feb 14 14:14:16 2017 (r434086) @@ -3,7 +3,7 @@ PORTNAME= ode PORTVERSION= 0.13 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= SF/opende/ODE/${PORTVERSION} @@ -14,9 +14,11 @@ COMMENT= Articulated rigid body dynamics LICENSE= LGPL21 BSD3CLAUSE LICENSE_COMB= dual -USES= tar:bzip2 gmake libtool +USES= tar:bzip2 gmake libtool pathfix USE_GL= yes GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-shared +TEST_TARGET= check OPTIONS_DEFINE= GIMPACT DOUBLE OU @@ -29,11 +31,7 @@ GIMPACT_CONFIGURE_OFF= --with-trimesh=op DOUBLE_CONFIGURE_ENABLE= double-precision OU_CONFIGURE_ENABLE= ou -.include <bsd.port.pre.mk> - -.if ${ARCH} == "amd64" || ${ARCH} == "ia64" -CFLAGS+= -fPIC -DPIC -.endif +.include <bsd.port.options.mk> .if ${PORT_OPTIONS:MGIMPACT} && ${PORT_OPTIONS:MDOUBLE} IGNORE= currently double precision is not supported by gimpact @@ -54,7 +52,4 @@ post-install: ${SED} -e '/PACKAGE/ s|^|//|; /VERSION/ s|^|//|' ${WRKSRC}/ode/src/config.h \ > ${STAGEDIR}${PREFIX}/include/ode/config.h -regression-test: build - @(cd ${WRKSRC} && ${MAKE} check) - -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/devel/ode/pkg-plist ============================================================================== --- head/devel/ode/pkg-plist Tue Feb 14 14:08:25 2017 (r434085) +++ head/devel/ode/pkg-plist Tue Feb 14 14:14:16 2017 (r434086) @@ -26,4 +26,7 @@ include/ode/threading.h include/ode/threading_impl.h include/ode/timer.h lib/libode.a +lib/libode.so +lib/libode.so.3 +lib/libode.so.3.1.0 libdata/pkgconfig/ode.pc Modified: head/devel/py-ode/Makefile ============================================================================== --- head/devel/py-ode/Makefile Tue Feb 14 14:08:25 2017 (r434085) +++ head/devel/py-ode/Makefile Tue Feb 14 14:14:16 2017 (r434086) @@ -3,7 +3,7 @@ PORTNAME= ode PORTVERSION= 1.2.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel python MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,13 +13,11 @@ DIST_SUBDIR= python MAINTAINER= amdmi3@FreeBSD.org COMMENT= Python bindings for The Open Dynamics Engine -BUILD_DEPENDS= ${LOCALBASE}/lib/libode.a:devel/ode +LIB_DEPENDS= libode.so:devel/ode USES= python:2 tar:bzip2 USE_PYTHON= autoplist distutils -CFLAGS_aarch64= -fPIC - OPTIONS_DEFINE= TRIMESH OPTIONS_DEFAULT=TRIMESH TRIMESH_DESC= Trimesh support (sync with OPCODE opt of devel/ode)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702141414.v1EEEGuR073865>