ports/92128: [patch] fix bsd.port.mk wrt PLIST_REINPLACE
Edwin Groothuis
edwin at mavetju.org
Sun Jan 22 04:00:19 UTC 2006
>Number: 92128
>Category: ports
>Synopsis: [patch] fix bsd.port.mk wrt PLIST_REINPLACE
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 22 04:00:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Edwin Groothuis
>Release: FreeBSD 6.0-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root at x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386
>Description:
commit message says ports/88711
ports/88711 says "A patch based on this is being tested"
patch is nowhere to be found, but not tested in the real
world:
===> Registering installation for p5-YAPE-HTML-1.11
pkg_create: read_plist: unknown command '@dirrmtry lib/perl5/site_perl/5.8.7/mach/auto/YAPE' (package tools out of date?)
pkg_create: read_plist: unknown command '@dirrmtry lib/perl5/site_perl/5.8.7/YAPE' (package tools out of date?)
pkg_create: write_plist: unknown command type -1 (lib/perl5/site_perl/5.8.7/mach/auto/YAPE)
*** Error code 2
>How-To-Repeat:
Index: bsd.port.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.521
diff -u -r1.521 bsd.port.mk
--- bsd.port.mk 21 Jan 2006 22:07:08 -0000 1.521
+++ bsd.port.mk 22 Jan 2006 03:57:11 -0000
@@ -5002,8 +5002,8 @@
${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${PLIST} >> ${TMPPLIST}; \
fi
.for reinplace in ${PLIST_REINPLACE}
-.if defined(PLIST_REINPLACE_${reinplace})
- @${SED} -e '${PLIST_REINPLACE_${reinplace:U}}' ${PLIST} >> ${TMPPLIST}
+.if defined(PLIST_REINPLACE_${reinplace:U})
+ @${SED} -i "" -e '${PLIST_REINPLACE_${reinplace:U}}' ${TMPPLIST}
.endif
.endfor
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list