- 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]
This commit is contained in:
parent
aaf02b4ae5
commit
b22f2812d1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193467
1 changed files with 7 additions and 3 deletions
|
@ -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 <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue