diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2011-06-21 13:39:16 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2011-06-21 13:39:16 +0000 |
commit | a8557170fbf56470e8f34c3963c3d1137176cfb8 (patch) | |
tree | abf3cf30f9499c3d54551355902e00520e74541f | |
parent | Update to version 1.3.8. Changes: (diff) |
Fix build with clang.
Notes
Notes:
svn path=/head/; revision=275992
-rw-r--r-- | audio/gbsplay/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/gbsplay/Makefile b/audio/gbsplay/Makefile index ba1f216e4310..1eaad798d603 100644 --- a/audio/gbsplay/Makefile +++ b/audio/gbsplay/Makefile @@ -19,6 +19,7 @@ HAS_CONFIGURE= yes USE_GMAKE= yes USE_GETTEXT= yes MAKE_JOBS_SAFE= yes +USE_CSTD= gnu89 CONFIGURE_ARGS+= --prefix=${PREFIX} @@ -49,14 +50,17 @@ CONFIGURE_ARGS+= --disable-nas post-patch: gbsplay-post-patch @${REINPLACE_CMD} -e 's|^\(default.*\)test|\1|' ${WRKSRC}/${MAKEFILE} @${REINPLACE_CMD} -e \ - 's|/usr/local/include|${LOCALBASE}/include|; \ + '/^need_include\ /d; \ + 468s|char argc|int argc|; \ + s|/usr/local/include|${LOCALBASE}/include|; \ s|/usr/local/lib|${LOCALBASE}/lib|; \ s|/usr/X11R6/include||; \ s|/usr/X11R6/lib||; \ s|/usr/X11/lib|${LOCALBASE}/lib|; \ s|/usr/lib/X11|${LOCALBASE}/lib/X11|; \ s|-Os||; s|-pipe||; s|-fomit-frame-pointer||; \ - s|-march=$$ARCH||' ${WRKSRC}/configure + s|-march=$$ARCH||' \ + ${WRKSRC}/configure .if ${PKGNAMEPREFIX} == "" |