aboutsummaryrefslogtreecommitdiff
path: root/devel/ode
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2006-09-06 14:44:00 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2006-09-06 14:44:00 +0000
commit145001f5c41d5e8703c2c66a1494b89563f815c3 (patch)
tree6f9786e30e09efde81e3b3354be254723555502c /devel/ode
parentd7462b07de05f93ca0d70f46f2231e47f52e2e95 (diff)
downloadports-145001f5c41d5e8703c2c66a1494b89563f815c3.tar.gz
ports-145001f5c41d5e8703c2c66a1494b89563f815c3.zip
Notes
Diffstat (limited to 'devel/ode')
-rw-r--r--devel/ode/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/ode/Makefile b/devel/ode/Makefile
index 0c2d136933bc..bc5712dc69b6 100644
--- a/devel/ode/Makefile
+++ b/devel/ode/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ode
PORTVERSION= 0.6
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -61,4 +61,8 @@ post-patch:
@${FIND} ${WRKSRC} -type f -name "*.h" -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
-i "" -e 's|<malloc.h>|<stdlib.h>|g'
+post-install:
+ ${SED} -e '/PACKAGE/ s|^|//|; /VERSION/ s|^|//|' ${WRKSRC}/include/ode/config.h \
+ > ${PREFIX}/include/ode/config.h
+
.include <bsd.port.post.mk>