svn commit: r462990 - branches/2018Q1/archivers/pbzip2

Steve Wills swills at FreeBSD.org
Mon Feb 26 05:19:33 UTC 2018


Author: swills
Date: Mon Feb 26 05:19:32 2018
New Revision: 462990
URL: https://svnweb.freebsd.org/changeset/ports/462990

Log:
  MFH: r460675
  
  Unbreak the build against Clang 6.0.0 and respect CXXFLAGS.
  
  PR:	225555
  
  Approved by:	ports-secteam (implicit)

Modified:
  branches/2018Q1/archivers/pbzip2/Makefile
Directory Properties:
  branches/2018Q1/   (props changed)

Modified: branches/2018Q1/archivers/pbzip2/Makefile
==============================================================================
--- branches/2018Q1/archivers/pbzip2/Makefile	Mon Feb 26 04:16:14 2018	(r462989)
+++ branches/2018Q1/archivers/pbzip2/Makefile	Mon Feb 26 05:19:32 2018	(r462990)
@@ -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-branches mailing list