From owner-svn-ports-all@freebsd.org Tue Feb 14 14:14:17 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1EA4CDE280; Tue, 14 Feb 2017 14:14:17 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6BCF01679; Tue, 14 Feb 2017 14:14:17 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1EEEGBV073868; Tue, 14 Feb 2017 14:14:16 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1EEEGuR073865; Tue, 14 Feb 2017 14:14:16 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201702141414.v1EEEGuR073865@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Tue, 14 Feb 2017 14:14:16 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2017 14:14:17 -0000 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 - -.if ${ARCH} == "amd64" || ${ARCH} == "ia64" -CFLAGS+= -fPIC -DPIC -.endif +.include .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 +.include 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)