aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ode
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2006-11-07 02:03:15 +0800
committeracm <acm@FreeBSD.org>2006-11-07 02:03:15 +0800
commitc1ddfb077b4cc7a96e938c828df0540f281bbaa2 (patch)
tree6a584a0cbd4dd949d518c1f7fc883d62db499537 /devel/ode
parentf1334eeafe5510909db2e3c010dfd20e700b3048 (diff)
downloadfreebsd-ports-gnome-c1ddfb077b4cc7a96e938c828df0540f281bbaa2.tar.gz
freebsd-ports-gnome-c1ddfb077b4cc7a96e938c828df0540f281bbaa2.tar.zst
freebsd-ports-gnome-c1ddfb077b4cc7a96e938c828df0540f281bbaa2.zip
- Fix build on 4.x
Reported by: kris
Diffstat (limited to 'devel/ode')
-rw-r--r--devel/ode/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/ode/Makefile b/devel/ode/Makefile
index bd3ed2b704ff..e63d18e05aad 100644
--- a/devel/ode/Makefile
+++ b/devel/ode/Makefile
@@ -23,6 +23,7 @@ USE_X_PREFIX= yes
USE_GL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
+USE_GCC= 3.4+
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
@@ -57,7 +58,7 @@ post-patch:
@${FIND} ${WRKSRC} -type f -name Makefile.in -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
-e '/^DEFAULT_INCLUDES/ s|$$| -I$$(top_builddir)/include|' \
-e '/CFLAGS/ s|-O[12]||'
- @${FIND} ${WRKSRC} -type f -name "*.h" -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
+ @${FIND} ${WRKSRC} -type f -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
-i "" -e 's|<malloc.h>|<stdlib.h>|g'
post-install: