1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Unbreak the build against Clang 6.0.0 and respect CXXFLAGS.

PR:	225555
This commit is contained in:
Alexey Dokuchaev 2018-02-02 08:33:24 +00:00
parent f5c665e4b2
commit 8cc1ee4a90
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460675

View File

@ -17,8 +17,11 @@ PLIST_FILES= bin/pbzip2 bin/pbunzip2 \
man/man1/pbzip2.1.gz man/man1/pbunzip2.1.gz
post-patch:
@${REINPLACE_CMD} -e 's,PRI[iu]MAX, & ,g' ${WRKSRC}/pbzip2.cpp \
${WRKSRC}/BZ2StreamScanner.cpp
# Spell target sources to be understood by both BSD and GNU make(1)
@${REINPLACE_CMD} -e 's,$$^,$$>&,' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e '/-O2/s,^,#, ; s,$$^,$$>&,' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/