Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2018 05:19:32 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r462990 - branches/2018Q1/archivers/pbzip2
Message-ID:  <201802260519.w1Q5JWSG082055@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802260519.w1Q5JWSG082055>