- Fix build on 4.x
Reported by: kris
This commit is contained in:
parent
fb737adc64
commit
c53d0cce77
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176633
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user