mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Fix build with gcc3.4
This commit is contained in:
parent
72f5bfb4db
commit
0262544f0d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117969
@ -19,5 +19,12 @@ USE_KDELIBS_VER= 3
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_TARGET=
|
||||
CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
USE_REINPLACE= yes
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e "s,-O0,${CFLAGS},g;s,NOOPT_,,g; \
|
||||
s,-pedantic ,,g;s,-pedantic-errors,,g" ${WRKSRC}/configure
|
||||
${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
|
||||
${REINPLACE_CMD} -e "s,NOOPT_,,g;s,FLAGS@,FLAGS@ -fPIC,"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user