FreeBSD Bugzilla – Attachment 22936 Details for
Bug 39665
Update ports@ maintained ports in category misc: ${PERL} -> ${REINPLACE_CMD}
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 11.97 KB, created by
obraun
on 2002-06-22 17:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
obraun
Created:
2002-06-22 17:30:01 UTC
Size:
11.97 KB
patch
obsolete
>Index: acron/Makefile >=================================================================== >RCS file: /home/ncvs/ports/misc/acron/Makefile,v >retrieving revision 1.9 >diff -u -r1.9 Makefile >--- acron/Makefile 2001/01/16 17:31:37 1.9 >+++ acron/Makefile 2002/06/22 16:21:58 >@@ -15,9 +15,10 @@ > MAINTAINER= ports@FreeBSD.org > > NO_BUILD= yes >+USE_REINPLACE= yes > > post-patch: >- @${PERL} -pi -e "s|\@\@PREFIX\@\@|${PREFIX}|g;" ${WRKSRC}/whats >+ @${REINPLACE_CMD} -e "s|\@\@PREFIX\@\@|${PREFIX}|g;" ${WRKSRC}/whats > > do-install: > ${INSTALL_SCRIPT} ${WRKSRC}/whats ${PREFIX}/bin >Index: bb/Makefile >=================================================================== >RCS file: /home/ncvs/ports/misc/bb/Makefile,v >retrieving revision 1.10 >diff -u -r1.10 Makefile >--- bb/Makefile 2002/03/31 02:24:22 1.10 >+++ bb/Makefile 2002/06/22 16:21:59 >@@ -17,12 +17,13 @@ > LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib \ > mikmod.2:${PORTSDIR}/audio/libmikmod > >+USE_REINPLACE= yes > GNU_CONFIGURE= yes > WRKSRC= ${WRKDIR}/bb-1.3.0 > MAN1= bb.1 > > pre-patch: >- ${FIND} ${WRKSRC} -type f | ${XARGS} ${PERL} -pi -e "s@#include +<malloc.h>@#include <stdlib.h>@g" >+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -E -e "s@#include +<malloc.h>@#include <stdlib.h>@g" > > post-install: > .if !defined(NOPORTDOCS) >Index: cpuid/Makefile >=================================================================== >RCS file: /home/ncvs/ports/misc/cpuid/Makefile,v >retrieving revision 1.3 >diff -u -r1.3 Makefile >--- cpuid/Makefile 2002/01/03 14:59:52 1.3 >+++ cpuid/Makefile 2002/06/22 16:21:59 >@@ -13,12 +13,13 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > ONLY_FOR_ARCHS= i386 > USE_GMAKE= yes > ALL_TARGET= # empty > > post-patch: >- @${PERL} -pi -e "s,gcc,${CC},g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile >+ @${REINPLACE_CMD} -e "s,gcc,${CC},g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile > > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/cpuid ${PREFIX}/bin >Index: demoniac/Makefile >=================================================================== >RCS file: /home/ncvs/ports/misc/demoniac/Makefile,v >retrieving revision 1.2 >diff -u -r1.2 Makefile >--- demoniac/Makefile 2002/03/16 07:25:01 1.2 >+++ demoniac/Makefile 2002/06/22 16:21:59 >@@ -15,6 +15,7 @@ > > LIB_DEPENDS= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea > >+USE_REINPLACE= yes > USE_MESA= yes > USE_GTK= yes > USE_LIBTOOL= yes >@@ -23,6 +24,6 @@ > LDFLAGS="${PTHREAD_LIBS}" > > post-patch: >- @${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure >+ @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure > > .include <bsd.port.mk> >Index: dotfile/Makefile >=================================================================== >RCS file: /home/ncvs/ports/misc/dotfile/Makefile,v >retrieving revision 1.20 >diff -u -r1.20 Makefile >--- dotfile/Makefile 2000/10/08 10:22:22 1.20 >+++ dotfile/Makefile 2002/06/22 16:21:59 >@@ -15,13 +15,14 @@ > LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 > RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82 > >+USE_REINPLACE= yes > GNU_CONFIGURE= yes > MAN1= dotfile.1 > > NO_BUILD= yes > > post-patch: >- @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dotfile >+ @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dotfile > > post-configure: > @(cd ${WRKSRC}/Modules/procmail && CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \ >Index: ewipe/Makefile >=================================================================== >RCS file: /home/ncvs/ports/misc/ewipe/Makefile,v >retrieving revision 1.21 >diff -u -r1.21 Makefile >--- ewipe/Makefile 2000/10/17 20:12:06 1.21 >+++ ewipe/Makefile 2002/06/22 16:22:00 >@@ -19,6 +19,7 @@ > .endif > > NO_BUILD= YES >+USE_REINPLACE= yes > TCLLIBS= definefont.tcl edittable.tcl setpointer.tcl viewer.tcl tclIndex > PORTDOCS= Changes.jp README README.jp dot.ewipe > EXAMPLES= a1.gif a2.gif a3.gif a4.gif blue1.gif sample.ewp test.ewp \ >@@ -31,7 +32,7 @@ > .endif > > post-patch: >- @${PERL} -pi \ >+ @${REINPLACE_CMD} \ > -e "s|%%PREFIX%%|${PREFIX}|g;" \ > -e "s|%%WISH%%|${WISH}|g;" ${WRKSRC}/ewipe > >Index: floatator/Makefile >=================================================================== >RCS file: /home/ncvs/ports/misc/floatator/Makefile,v >retrieving revision 1.2 >diff -u -r1.2 Makefile >--- floatator/Makefile 2002/06/02 14:27:49 1.2 >+++ floatator/Makefile 2002/06/22 16:22:00 >@@ -13,12 +13,13 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > USE_XLIB= yes > USE_MOTIF= yes > WRKSRC= ${WRKDIR}/${PORTNAME} > > post-patch: >- @${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile >+ @${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile > > do-install: > .for f in floatator floatator_X_interface >Index: goblin/Makefile >=================================================================== >RCS file: /home/ncvs/ports/misc/goblin/Makefile,v >retrieving revision 1.1 >diff -u -r1.1 Makefile >--- goblin/Makefile 2002/03/03 12:06:20 1.1 >+++ goblin/Makefile 2002/06/22 16:22:00 >@@ -17,15 +17,17 @@ > LIB_DEPENDS= tcl83:${PORTSDIR}/lang/tcl83 \ > tk83:${PORTSDIR}/x11-toolkits/tk83 > >+USE_REINPLACE= yes >+ > CFLAGS+= -I${LOCALBASE}/include/tcl8.3 -I${LOCALBASE}/include/tk8.3 \ > -I${X11BASE}/include > LIBS= -L${LOCALBASE}/lib -L${X11BASE}/lib > > post-patch: >- @${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g ; \ >+ @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g ; \ > s,g\+\+,${CXX},g ; \ > s,%%CXXFLAGS%%,${CXXFLAGS},g ; s,%%LIBS%%,${LIBS},g ; \ > s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/Makefile >- @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/include/globals.h >+ @${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/include/globals.h > > .include <bsd.port.mk> >Index: gonvert/Makefile >=================================================================== >RCS file: /home/ncvs/ports/misc/gonvert/Makefile,v >retrieving revision 1.5 >diff -u -r1.5 Makefile >--- gonvert/Makefile 2002/05/13 12:33:45 1.5 >+++ gonvert/Makefile 2002/06/22 16:22:01 >@@ -17,6 +17,7 @@ > RUN_DEPENDS= ${PYTHON_SITELIBDIR}/GTK.py:${PORTSDIR}/x11-toolkits/py-gtk \ > ${PYTHON_SITELIBDIR}/gnome/ui.py:${PORTSDIR}/x11-toolkits/py-gnome > >+USE_REINPLACE= yes > USE_PYTHON= yes > USE_X_PREFIX= yes > USE_GNOME= yes >@@ -25,8 +26,8 @@ > NO_BUILD= yes > > post-patch: >- @${PERL} -pi -e "s,/usr/bin/python,${PYTHON_CMD},g" ${WRKSRC}/${PORTNAME} >- @${PERL} -pi -e "s,gnome-config,${GNOME_CONFIG},g ; \ >+ @${REINPLACE_CMD} -e "s,/usr/bin/python,${PYTHON_CMD},g" ${WRKSRC}/${PORTNAME} >+ @${REINPLACE_CMD} -e "s,gnome-config,${GNOME_CONFIG},g ; \ > s,--directory,-d --mode=755,g ; \ > s,install ,install -c ,g" ${WRKSRC}/Makefile > >Index: grc/Makefile >=================================================================== >RCS file: /home/ncvs/ports/misc/grc/Makefile,v >retrieving revision 1.3 >diff -u -r1.3 Makefile >--- grc/Makefile 2001/11/26 19:15:06 1.3 >+++ grc/Makefile 2002/06/22 16:22:01 >@@ -14,6 +14,7 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > USE_PYTHON= yes > WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} > NO_BUILD= yes >@@ -22,7 +23,7 @@ > > post-patch: > .for file in grc grcat >- @${PERL} -pi -e "s|%%PYTHON_CMD%%|${PYTHON_CMD}|g ; \ >+ @${REINPLACE_CMD} -e "s|%%PYTHON_CMD%%|${PYTHON_CMD}|g ; \ > s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file} > .endfor > >Index: gretl/Makefile >=================================================================== >RCS file: /home/ncvs/ports/misc/gretl/Makefile,v >retrieving revision 1.3 >diff -u -r1.3 Makefile >--- gretl/Makefile 2002/05/21 02:37:33 1.3 >+++ gretl/Makefile 2002/06/22 16:22:01 >@@ -21,6 +21,7 @@ > gtkextra.17:${PORTSDIR}/x11-toolkits/gtkextra > RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot > >+USE_REINPLACE= yes > USE_X_PREFIX= yes > USE_GTK= yes > WANT_GNOME= yes >@@ -43,8 +44,8 @@ > .endif > > pre-patch: >- @${PERL} -pi -e 's|`glib-config|`\$$GLIB_CONFIG|g ; \ >+ @${REINPLACE_CMD} -e 's|`glib-config|`\$$GLIB_CONFIG|g ; \ > s|/share/gretl/|/lib/gretl/|g' ${WRKSRC}/configure >- @${PERL} -pi -e 's|SIGCLD|SIGCHLD|g' ${WRKSRC}/gui/gretl.c >+ @${REINPLACE_CMD} -e 's|SIGCLD|SIGCHLD|g' ${WRKSRC}/gui/gretl.c > > .include <bsd.port.post.mk> >Index: qhacc/Makefile >=================================================================== >RCS file: /home/ncvs/ports/misc/qhacc/Makefile,v >retrieving revision 1.26 >diff -u -r1.26 Makefile >--- qhacc/Makefile 2001/12/08 20:22:55 1.26 >+++ qhacc/Makefile 2002/06/22 16:22:04 >@@ -14,6 +14,7 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > USE_QT_VER= 2 > USE_X_PREFIX= yes > GNU_CONFIGURE= yes >@@ -25,7 +26,7 @@ > > pre-patch: > .for file in configure src/Makefile.in >- @${PERL} -pi -e 's|/moc|/${MOC:T}|g ; \ >+ @${REINPLACE_CMD} -e 's|/moc|/${MOC:T}|g ; \ > s|-lqt|-l${QTNAME}|g ; \ > s|-O2 -Wall|\@CXXFLAGS\@|g' ${WRKSRC}/${file} > .endfor >Index: quantlib/Makefile >=================================================================== >RCS file: /home/ncvs/ports/misc/quantlib/Makefile,v >retrieving revision 1.3 >diff -u -r1.3 Makefile >--- quantlib/Makefile 2002/05/14 02:34:20 1.3 >+++ quantlib/Makefile 2002/06/22 16:22:04 >@@ -17,6 +17,7 @@ > > WRKSRC= ${WRKDIR}/QuantLib-${PORTVERSION} > >+USE_REINPLACE= yes > USE_BZIP2= yes > USE_LIBTOOL= yes > CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} >@@ -26,10 +27,10 @@ > quantlib-config.1 > > pre-patch: >- @${PERL} -pi -e 's|-g -O3|\$$CXXFLAGS|g' ${WRKSRC}/configure >+ @${REINPLACE_CMD} -e 's|-g -O3|\$$CXXFLAGS|g' ${WRKSRC}/configure > @${FIND} ${WRKSRC} -name "Makefile.in" | \ >- ${XARGS} ${PERL} -pi -e 's|-g -O.|\@CXXFLAGS\@|g' >+ ${XARGS} ${REINPLACE_CMD} -e 's|-g -O.|\@CXXFLAGS\@|g' > @${FIND} ${WRKSRC}/Examples -name "Makefile.in" | \ >- ${XARGS} ${PERL} -pi -e 's|-pedantic -Wall|-O0|g' >+ ${XARGS} ${REINPLACE_CMD} -e 's|-pedantic -Wall|-O0|g' > > .include <bsd.port.mk> >Index: shc/Makefile >=================================================================== >RCS file: /home/ncvs/ports/misc/shc/Makefile,v >retrieving revision 1.2 >diff -u -r1.2 Makefile >--- shc/Makefile 2002/06/10 04:49:34 1.2 >+++ shc/Makefile 2002/06/22 16:22:04 >@@ -14,12 +14,13 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > ALL_TARGET= shc > > MAN1= shc.1 > > post-patch: >- @${PERL} -pi -e "s,^CFLAGS,#CFLAGS},g ; \ >+ @${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS},g ; \ > s,/usr/local,${PREFIX},g" ${WRKSRC}/Makefile > > .include <bsd.port.mk> >Index: txt2regex/Makefile >=================================================================== >RCS file: /home/ncvs/ports/misc/txt2regex/Makefile,v >retrieving revision 1.7 >diff -u -r1.7 Makefile >--- txt2regex/Makefile 2002/03/05 02:57:37 1.7 >+++ txt2regex/Makefile 2002/06/22 16:22:05 >@@ -16,12 +16,13 @@ > > RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 > >+USE_REINPLACE= yes > NO_BUILD= yes > > post-patch: >- @${PERL} -pi -e "s,/bin/bash,${LOCALBASE}/bin/bash,g ; \ >+ @${REINPLACE_CMD} -e "s,/bin/bash,${LOCALBASE}/bin/bash,g ; \ > s,\`seq,\`gseq,g" ${WRKSRC}/${DISTNAME}.sh >- @${PERL} -pi -e "s,/usr,${LOCALBASE},g" ${WRKSRC}/Makefile >+ @${REINPLACE_CMD} -e "s,/usr,${LOCALBASE},g" ${WRKSRC}/Makefile > > do-install: > ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.sh ${PREFIX}/bin/txt2regex >Index: xpns/Makefile >=================================================================== >RCS file: /home/ncvs/ports/misc/xpns/Makefile,v >retrieving revision 1.10 >diff -u -r1.10 Makefile >--- xpns/Makefile 2001/08/23 20:21:51 1.10 >+++ xpns/Makefile 2002/06/22 16:22:05 >@@ -13,13 +13,14 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > NO_WRKSUBDIR= yes > USE_X_PREFIX= yes > MAKEFILE= makefile > ALL_TARGET= pns > > post-patch: >- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xpns >+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xpns > > do-install: > ${INSTALL_SCRIPT} ${WRKSRC}/xpns ${PREFIX}/bin/xpns >Index: yaunc/Makefile >=================================================================== >RCS file: /home/ncvs/ports/misc/yaunc/Makefile,v >retrieving revision 1.6 >diff -u -r1.6 Makefile >--- yaunc/Makefile 2001/04/15 01:04:03 1.6 >+++ yaunc/Makefile 2002/06/22 16:22:06 >@@ -13,13 +13,14 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > GNU_CONFIGURE= yes > MAN1= yaunc.1 > > post-patch: > @${CP} -f ${FILESDIR}/startup ${WRKSRC}/yaunc.sh > .for file in yaunc.1 yaunc.sh >- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file} >+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file} > .endfor > > do-install:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 39665
: 22936