svn commit: r460675 - head/archivers/pbzip2
Alexey Dokuchaev
danfe at FreeBSD.org
Fri Feb 2 08:33:25 UTC 2018
Author: danfe
Date: Fri Feb 2 08:33:24 2018
New Revision: 460675
URL: https://svnweb.freebsd.org/changeset/ports/460675
Log:
Unbreak the build against Clang 6.0.0 and respect CXXFLAGS.
PR: 225555
Modified:
head/archivers/pbzip2/Makefile
Modified: head/archivers/pbzip2/Makefile
==============================================================================
--- head/archivers/pbzip2/Makefile Fri Feb 2 07:13:35 2018 (r460674)
+++ head/archivers/pbzip2/Makefile Fri Feb 2 08:33:24 2018 (r460675)
@@ -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/
More information about the svn-ports-all
mailing list