aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2006-09-06 22:44:00 +0800
committeracm <acm@FreeBSD.org>2006-09-06 22:44:00 +0800
commit9c597a966bcc1d06eeb7233c4c09f3a1bc5a968a (patch)
tree7cc16c4300d600ae118896e5b612f97500dc7593
parentdc73736cdc32dad564564a6d29936f1b5456acfa (diff)
downloadfreebsd-ports-gnome-9c597a966bcc1d06eeb7233c4c09f3a1bc5a968a.tar.gz
freebsd-ports-gnome-9c597a966bcc1d06eeb7233c4c09f3a1bc5a968a.tar.zst
freebsd-ports-gnome-9c597a966bcc1d06eeb7233c4c09f3a1bc5a968a.zip
- Remove PACKAGES and VERSION variables from ode/config.h. It causes conflict
with some ports. PR: 102930 Submitted by: Dmitry Marakasov <amdmi3__at__mail.ru> Reviewed by: me Approved by: garga (mentor, implicit)
-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>