FreeBSD Bugzilla – Attachment 142411 Details for
Bug 189438
[PATCH] devel/ode: staging, fixes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ode-0.11.1.patch
ode-0.11.1.patch (text/plain), 2.50 KB, created by
Dmitry Marakasov
on 2014-05-07 20:30:02 UTC
(
hide
)
Description:
ode-0.11.1.patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2014-05-07 20:30:02 UTC
Size:
2.50 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 353191) >+++ Makefile (working copy) >@@ -10,25 +10,31 @@ > MAINTAINER= acm@FreeBSD.org > COMMENT= Articulated rigid body dynamics library > >+LICENSE= LGPL21 BSD3CLAUSE >+LICENSE_COMB= dual >+ > CONFLICTS= ode-devel-[0-9].* > >-USE_BZIP2= yes >+USES= tar:bzip2 gmake libtool > USE_GL= yes >-USE_GMAKE= yes > GNU_CONFIGURE= yes > >-CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" >+OPTIONS_DEFINE= GIMPACT GYROSCOPIC DOUBLE OU >+OPTIONS_DEFAULT= GYROSCOPIC > >-OPTIONS_DEFINE= GIMPACT GYROSCOPIC DOUBLE OU >-OPTIONS_DEFAULT= GYROSCOPIC > GIMPACT_DESC= Enable gimpact instead of opcode support > GYROSCOPIC_DESC= Configure ODE to work with gyroscopic term > DOUBLE_DESC= Enable double precision (BROKEN with GIMPACT) > OU_DESC= Enable Thread-local storage (Experimental) > >+GIMPACT_CONFIGURE_ON= --with-trimesh=gimpact >+GIMPACT_CONFIGURE_OFF= --with-trimesh=opcode >+GYROSCOPIC_CONFIGURE_ENABLE= gyroscopic >+DOUBLE_CONFIGURE_ENABLE= double-precision >+OU_CONFIGURE_ENABLE= ou >+ > WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} > >-NO_STAGE= yes > .include <bsd.port.pre.mk> > > .if ${ARCH} == "amd64" || ${ARCH} == "ia64" >@@ -35,30 +41,10 @@ > CFLAGS+= -fPIC -DPIC > .endif > >-.if ${PORT_OPTIONS:MGIMPACT} && defined(WITH_DOUBLE) >-IGNORE= currently double precision is not supported by gimpact >+.if ${PORT_OPTIONS:MGIMPACT} && ${PORT_OPTIONS:MDOUBLE} >+IGNORE= currently double precision is not supported by gimpact > .endif > >-.if ! ${PORT_OPTIONS:MGIMPACT} >-CONFIGURE_ARGS+= --with-trimesh=opcode >-.else >-CONFIGURE_ARGS+= --with-trimesh=gimpact >-.endif >- >-.if ! ${PORT_OPTIONS:MGYROSCOPIC} >-CONFIGURE_ARGS+= --disable-gyroscopic >-.endif >- >-.if ${PORT_OPTIONS:MDOUBLE} >-CONFIGURE_ARGS+= --enable-double-precision >-.endif >- >-.if ${PORT_OPTIONS:MOU} >-CONFIGURE_ARGS+= --enable-ou >-.else >-CONFIGURE_ARGS+= --disable-ou >-.endif >- > post-patch: > @${REINPLACE_CMD} -e '/if test/ s|==|=|' -e 's|^\( *CFLAGS=\)|#\1|;' \ > -e 's|^\( *CPPFLAGS=\)|#\1|' -e 's|^\( *CXXFLAGS=\)|#\1|' \ >@@ -75,6 +61,6 @@ > > post-install: > ${SED} -e '/PACKAGE/ s|^|//|; /VERSION/ s|^|//|' ${WRKSRC}/ode/src/config.h \ >- > ${PREFIX}/include/ode/config.h >+ > ${STAGEDIR}${PREFIX}/include/ode/config.h > > .include <bsd.port.post.mk> >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 353191) >+++ pkg-plist (working copy) >@@ -22,6 +22,5 @@ > include/ode/rotation.h > include/ode/timer.h > lib/libode.a >-lib/libode.la > libdata/pkgconfig/ode.pc > @dirrm include/ode
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 189438
: 142411