Fix build on -CURRENT.

Submitted by:	Andy Fawcett <andy@athame.co.uk>
Tested by:	deischen
This commit is contained in:
Will Andrews 2003-09-03 05:55:57 +00:00
parent 4f0b24856e
commit fb64ddda79
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88410
2 changed files with 4 additions and 2 deletions

View file

@ -27,9 +27,10 @@ CONFIGURE_TARGET=
CONFIGURE_ARGS+=--with-x=${X11BASE} --disable-debug
post-patch:
# remove -pedantic where possible to fix build errors on -CURRENT
# remove optimizations
@${REINPLACE_CMD} -e \
's|-O2||' \
's|-O2||; s|-pedantic ||' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
# do not try to roll our own mimetypes
@${REINPLACE_CMD} -E -e \

View file

@ -27,9 +27,10 @@ CONFIGURE_TARGET=
CONFIGURE_ARGS+=--with-x=${X11BASE} --disable-debug
post-patch:
# remove -pedantic where possible to fix build errors on -CURRENT
# remove optimizations
@${REINPLACE_CMD} -e \
's|-O2||' \
's|-O2||; s|-pedantic ||' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
# do not try to roll our own mimetypes
@${REINPLACE_CMD} -E -e \