Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2019 08:30:15 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r519189 - in head/archivers/amigadepacker: . files
Message-ID:  <201912070830.xB78UFNk003275@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sat Dec  7 08:30:14 2019
New Revision: 519189
URL: https://svnweb.freebsd.org/changeset/ports/519189

Log:
  Per section 4.4.3 of the Porters Handbook, REINPLACE_CMD (sed) should not be
  used to replace static content.
  
  Switch from sed to patch.
  
  PR:		242487
  Submitted by:	swills

Added:
  head/archivers/amigadepacker/files/
  head/archivers/amigadepacker/files/patch-Makefile.in   (contents, props changed)
Modified:
  head/archivers/amigadepacker/Makefile

Modified: head/archivers/amigadepacker/Makefile
==============================================================================
--- head/archivers/amigadepacker/Makefile	Sat Dec  7 08:12:48 2019	(r519188)
+++ head/archivers/amigadepacker/Makefile	Sat Dec  7 08:30:14 2019	(r519189)
@@ -21,9 +21,6 @@ ALL_TARGET=	${PORTNAME}
 
 PLIST_FILES=	bin/amigadepacker man/man1/amigadepacker.1.gz
 
-post-patch:
-	@${REINPLACE_CMD} -E '/^(CC|CFLAGS)/d' ${WRKSRC}/Makefile.in
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1

Added: head/archivers/amigadepacker/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/amigadepacker/files/patch-Makefile.in	Sat Dec  7 08:30:14 2019	(r519189)
@@ -0,0 +1,8 @@
+--- Makefile.in.orig	2008-08-24 19:57:05 UTC
++++ Makefile.in
+@@ -1,5 +1,3 @@
+-CC = {CC}
+-CFLAGS = -Wall -O2 -g
+ LDFLAGS =
+ MODULES = main.o decrunch.o ppdepack.o mmcmp.o s404_dec.o unsqsh.o compat.o {EXTRAMODULES}
+ RELDIR = amigadepacker-{VERSION}



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