From b22f2812d1da77afea72b6004bcc62e63291564e Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Thu, 14 Jun 2007 10:01:09 +0000 Subject: [PATCH] - Fix the build with recent GCC [1] - Use commas in sed(1) regexps for consistency - Wrap lines so they fit in standard terminal width - Pacify portlint(1) to some extent Reported by: pointyhat [1] --- multimedia/bmp-extra-plugins/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/multimedia/bmp-extra-plugins/Makefile b/multimedia/bmp-extra-plugins/Makefile index fa36bd3b6856..7fb0e99f7e5e 100644 --- a/multimedia/bmp-extra-plugins/Makefile +++ b/multimedia/bmp-extra-plugins/Makefile @@ -19,7 +19,7 @@ LIB_DEPENDS= beep.2:${PORTSDIR}/multimedia/beep-media-player \ artsc.0:${PORTSDIR}/audio/arts USE_GNOME= libglade2 esound -USE_X_PREFIX= yes +USE_GETTEXT= yes USE_BZIP2= yes GNU_CONFIGURE= yes @@ -29,7 +29,11 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" post-patch: - @${REINPLACE_CMD} -e 's,-pthread,${PTHREAD_LIBS},g ; s|echo aout|echo elf|' \ - ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's,-pthread,${PTHREAD_LIBS},g ; \ + s,echo aout,echo elf,' ${WRKSRC}/configure + @${REINPLACE_CMD} -e '38,40s,^static ,,' \ + ${WRKSRC}/output/crossfade/monitor.c + @${REINPLACE_CMD} -e '97s,^static ,,' \ + ${WRKSRC}/output/crossfade/oss.c .include