aboutsummaryrefslogtreecommitdiff
path: root/devel/ode-devel
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-04-03 13:52:48 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-04-03 13:52:48 +0000
commitc1f7ad086a67967cc3b4d287a900e91fc60f8e99 (patch)
tree40df26b666b4eb82f201f90866fc3cf0822f66fb /devel/ode-devel
parent06822f2831e883df4cda5383bfd09002917c97e2 (diff)
downloadports-c1f7ad086a67967cc3b4d287a900e91fc60f8e99.tar.gz
ports-c1f7ad086a67967cc3b4d287a900e91fc60f8e99.zip
Notes
Diffstat (limited to 'devel/ode-devel')
-rw-r--r--devel/ode-devel/Makefile8
-rw-r--r--devel/ode-devel/ode/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/devel/ode-devel/Makefile b/devel/ode-devel/Makefile
index fea4c845bb87..2a68234a3232 100644
--- a/devel/ode-devel/Makefile
+++ b/devel/ode-devel/Makefile
@@ -20,6 +20,12 @@ USE_GL= yes
USE_GMAKE= yes
USE_REINPLACE= yes
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+BROKEN= "Does not build on amd64"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
's|malloc.h|stdlib.h|g' \
@@ -47,4 +53,4 @@ do-install:
@${MKDIR} ${PREFIX}/include/ode
@${INSTALL_DATA} ${WRKSRC}/include/ode/*.h ${PREFIX}/include/ode
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/ode-devel/ode/Makefile b/devel/ode-devel/ode/Makefile
index fea4c845bb87..2a68234a3232 100644
--- a/devel/ode-devel/ode/Makefile
+++ b/devel/ode-devel/ode/Makefile
@@ -20,6 +20,12 @@ USE_GL= yes
USE_GMAKE= yes
USE_REINPLACE= yes
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+BROKEN= "Does not build on amd64"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
's|malloc.h|stdlib.h|g' \
@@ -47,4 +53,4 @@ do-install:
@${MKDIR} ${PREFIX}/include/ode
@${INSTALL_DATA} ${WRKSRC}/include/ode/*.h ${PREFIX}/include/ode
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>