FreeBSD Bugzilla – Attachment 23091 Details for
Bug 39842
Update ports@ maintained ports in category devel: ${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), 21.93 KB, created by
obraun
on 2002-06-25 15:20:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
obraun
Created:
2002-06-25 15:20:02 UTC
Size:
21.93 KB
patch
obsolete
>Index: SpecTcl/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/SpecTcl/Makefile,v >retrieving revision 1.14 >diff -u -r1.14 Makefile >--- SpecTcl/Makefile 3 Jan 2001 22:18:19 -0000 1.14 >+++ SpecTcl/Makefile 25 Jun 2002 14:01:38 -0000 >@@ -16,11 +16,12 @@ > > RUN_DEPENDS= wish8.0:${PORTSDIR}/x11-toolkits/tk80 > >+USE_REINPLACE= yes > NO_BUILD= yes > > post-patch: >- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/specJava >- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/specTcl >+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/specJava >+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/specTcl > > do-install: > ${INSTALL_SCRIPT} ${WRKSRC}/bin/specJava ${PREFIX}/bin >Index: asl/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/asl/Makefile,v >retrieving revision 1.10 >diff -u -r1.10 Makefile >--- asl/Makefile 18 Jun 2000 04:05:25 -0000 1.10 >+++ asl/Makefile 25 Jun 2002 14:01:38 -0000 >@@ -14,13 +14,15 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes >+ > MAN1= asl.1 p2bin.1 p2hex.1 pbind.1 plist.1 > > post-extract: > ${CP} ${FILESDIR}/Makefile.def ${WRKSRC} > > post-patch: >- ${PERL} -pi -e 's/mkdirhier/mkdir \-p/' ${WRKSRC}/install.sh >+ ${REINPLACE_CMD} -e 's/mkdirhier/mkdir \-p/' ${WRKSRC}/install.sh > > post-install: > @${MKDIR} ${PREFIX}/share/doc/asl >Index: boehm-gc/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/boehm-gc/Makefile,v >retrieving revision 1.16 >diff -u -r1.16 Makefile >--- boehm-gc/Makefile 2 Feb 2002 04:48:26 -0000 1.16 >+++ boehm-gc/Makefile 25 Jun 2002 14:01:39 -0000 >@@ -16,6 +16,7 @@ > ONLY_FOR_ARCHS= i386 # XXX can't figure out whether to define > # # XXX SEARCH_FOR_DATA_START on other platforms > >+USE_REINPLACE= yes > HAS_CONFIGURE= yes > INSTALLS_SHLIB= yes > CONFIGURE_ARGS= --prefix=${PREFIX} >@@ -23,7 +24,7 @@ > MAN3= gc.3 > > post-patch: >- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/gc.man >+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/gc.man > > post-install: > ${INSTALL_DATA} ${WRKSRC}/include/gc.h ${PREFIX}/include >Index: cvs2p4/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/cvs2p4/Makefile,v >retrieving revision 1.2 >diff -u -r1.2 Makefile >--- cvs2p4/Makefile 17 May 2002 21:47:37 -0000 1.2 >+++ cvs2p4/Makefile 25 Jun 2002 14:01:39 -0000 >@@ -13,16 +13,18 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes >+REINPLACE_ARGS= -i "" > NO_BUILD= yes > > PERFORCE_PORT?= 1666 > > post-patch: >- ${PERL} -pi \ >+ @${REINPLACE_CMD} \ > -e 's,!!PREFIX!!,${PREFIX},g;' \ > -e 's,!!PERFORCE_PORT!!,${PERFORCE_PORT},g;' \ > ${WRKSRC}/test/config >- find ${WRKSRC} -name '*.orig' -delete >+ @${FIND} ${WRKSRC} -name '*.orig' -delete > > do-install: > ${MKDIR} ${PREFIX}/${PORTNAME} >Index: dia2code/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/dia2code/Makefile,v >retrieving revision 1.5 >diff -u -r1.5 Makefile >--- dia2code/Makefile 30 Jan 2002 00:52:20 -0000 1.5 >+++ dia2code/Makefile 25 Jun 2002 14:01:39 -0000 >@@ -18,6 +18,7 @@ > > XML_CONFIG= ${LOCALBASE}/bin/xml2-config > >+USE_REINPLACE= yes > GNU_CONFIGURE= yes > CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ > LDFLAGS="-L${LOCALBASE}/lib" \ >@@ -26,7 +27,7 @@ > MAN1= dia2code.1 > > post-patch: >- @${PERL} -pi -e 's|#include <malloc.h>||' ${WRKSRC}/dia2code/dia2code.h >+ @${REINPLACE_CMD} -e 's|#include <malloc.h>||' ${WRKSRC}/dia2code/dia2code.h > > post-install: > @${INSTALL_MAN} ${WRKSRC}/dia2code.1 ${MANPREFIX}/man/man1 >Index: dmake/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/dmake/Makefile,v >retrieving revision 1.8 >diff -u -r1.8 Makefile >--- dmake/Makefile 11 Apr 2000 21:27:46 -0000 1.8 >+++ dmake/Makefile 25 Jun 2002 14:01:39 -0000 >@@ -15,6 +15,7 @@ > MAINTAINER= ports@FreeBSD.org > > WRKSRC= ${WRKDIR}/${PORTNAME} >+USE_REINPLACE= yes > USE_GMAKE= yes > MAKE_ENV= CC=${CC} > MAKEFILE= makefile >@@ -27,7 +28,7 @@ > .endfor > > post-patch: >- @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/unix/startup.h >+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/unix/startup.h > > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/dmake ${PREFIX}/bin >Index: dotconf/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/dotconf/Makefile,v >retrieving revision 1.10 >diff -u -r1.10 Makefile >--- dotconf/Makefile 5 Feb 2002 07:01:55 -0000 1.10 >+++ dotconf/Makefile 25 Jun 2002 14:01:39 -0000 >@@ -13,13 +13,14 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > GNU_CONFIGURE= yes > CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} > INSTALLS_SHLIB= yes > > pre-patch: >- @${PERL} -pi -e 's|-Wall -g||' ${WRKSRC}/configure >- @${PERL} -pi -e 's|-release $(LT_RELEASE)||' ${WRKSRC}/src/Makefile.in >+ @${REINPLACE_CMD} -e 's|-Wall -g||' ${WRKSRC}/configure >+ @${REINPLACE_CMD} -e 's|-release $(LT_RELEASE)||' ${WRKSRC}/src/Makefile.in > > post-install: > .if !defined(NOPORTDOCS) >Index: elfio/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/elfio/Makefile,v >retrieving revision 1.1 >diff -u -r1.1 Makefile >--- elfio/Makefile 26 Jul 2001 11:59:37 -0000 1.1 >+++ elfio/Makefile 25 Jun 2002 14:01:39 -0000 >@@ -16,10 +16,11 @@ > > WRKSRC= ${WRKDIR}/ELFIO/ELFIO > MAKEFILE= makefile >+USE_REINPLACE= yes > ALL_TARGET= # empty > > post-patch: >- @${PERL} -pi -e "s,^CXXFLAGS,#CXXFLAGS,g" ${WRKSRC}/makefile >+ @${REINPLACE_CMD} -e "s,^CXXFLAGS,#CXXFLAGS,g" ${WRKSRC}/makefile > > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/libELFIO.a ${PREFIX}/lib >Index: flux/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/flux/Makefile,v >retrieving revision 1.12 >diff -u -r1.12 Makefile >--- flux/Makefile 7 Jan 2002 05:17:18 -0000 1.12 >+++ flux/Makefile 25 Jun 2002 14:01:39 -0000 >@@ -13,6 +13,7 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > USE_GMAKE= yes > USE_AUTOMAKE_VER=14 > USE_LIBTOOL= yes >@@ -21,19 +22,19 @@ > > pre-configure: > .for M in examples include src util >- @${PERL} -pi -e ${REGEX} ${WRKSRC}/${M}/Makefile.am >+ @${REINPLACE_CMD} -e ${REGEX} ${WRKSRC}/${M}/Makefile.am > .endfor > .for M in build cgi cipher comm fifobuf fstring log mem misc mt nvtp ph proc \ > random smtp sock tn url xml >- @${PERL} -pi -e ${REGEX} ${WRKSRC}/src/${M}/Makefile.am >+ @${REINPLACE_CMD} -e ${REGEX} ${WRKSRC}/src/${M}/Makefile.am > .endfor > .for M in framework/application framework/application/src test >- @${PERL} -pi -e ${REGEX} ${WRKSRC}/util/${M}/Makefile.am >+ @${REINPLACE_CMD} -e ${REGEX} ${WRKSRC}/util/${M}/Makefile.am > .endfor > .for M in smtp >- @${PERL} -pi -e ${REGEX} ${WRKSRC}/examples/${M}/Makefile.am >+ @${REINPLACE_CMD} -e ${REGEX} ${WRKSRC}/examples/${M}/Makefile.am > .endfor >- ${PERL} -pi -e "s@autoheader,@${AUTOHEADER},@g" ${WRKSRC}/aclocal.m4 >+ @${REINPLACE_CMD} -e "s@autoheader,@${AUTOHEADER},@g" ${WRKSRC}/aclocal.m4 > > post-install: > .if !defined(NOPORTDOCS) >Index: freescope/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/freescope/Makefile,v >retrieving revision 1.4 >diff -u -r1.4 Makefile >--- freescope/Makefile 30 Jan 2002 02:44:26 -0000 1.4 >+++ freescope/Makefile 25 Jun 2002 14:01:39 -0000 >@@ -17,12 +17,13 @@ > > WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} > >+USE_REINPLACE= yes > GNU_CONFIGURE= yes > > MAN1= freescope.1 > > pre-patch: >- @${PERL} -pi -e 's|CFLAGS=.*$$|CFLAGS="\$$CFLAGS"|g ; \ >+ @${REINPLACE_CMD} -e 's|CFLAGS=.*$$|CFLAGS="\$$CFLAGS"|g ; \ > s|CXXFLAGS=.*$$|CXXFLAGS="\$$CXXFLAGS"|g ; \ > s|bindir="/usr/local/bin"||g' ${WRKSRC}/configure > >Index: g2c/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/g2c/Makefile,v >retrieving revision 1.1 >diff -u -r1.1 Makefile >--- g2c/Makefile 3 Jun 2002 03:35:17 -0000 1.1 >+++ g2c/Makefile 25 Jun 2002 14:01:39 -0000 >@@ -14,6 +14,7 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > USE_GTK= yes > WANT_GNOME= yes > GNU_CONFIGURE= yes >@@ -26,10 +27,10 @@ > .endif > > pre-patch: >- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ >+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ > s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure >- @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${PERL} -pi -e \ >- 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ >- s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' >+ @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ >+ 's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \ >+ s|\$$(datadir)/locale|\$$(prefix)/share/locale|g' > > .include <bsd.port.post.mk> >Index: getxml/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/getxml/Makefile,v >retrieving revision 1.3 >diff -u -r1.3 Makefile >--- getxml/Makefile 5 Nov 2001 09:47:53 -0000 1.3 >+++ getxml/Makefile 25 Jun 2002 14:01:39 -0000 >@@ -16,10 +16,11 @@ > > LIB_DEPENDS= xml.5:${PORTSDIR}/textproc/libxml > >+USE_REINPLACE= yes > USE_GLIB= yes > GNU_CONFIGURE= yes > > post-patch: >- @${PERL} -pi -e "s,glib-config,${GLIB_CONFIG},g" ${WRKSRC}/configure >+ @${REINPLACE_CMD} -e "s,glib-config,${GLIB_CONFIG},g" ${WRKSRC}/configure > > .include <bsd.port.mk> >Index: lbpp/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/lbpp/Makefile,v >retrieving revision 1.1 >diff -u -r1.1 Makefile >--- lbpp/Makefile 3 Jun 2002 14:00:19 -0000 1.1 >+++ lbpp/Makefile 25 Jun 2002 14:01:39 -0000 >@@ -14,15 +14,16 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > USE_BZIP2= yes > USE_GMAKE= yes > USE_GNOME= yes > > post-patch: > @${GREP} -lR "malloc.h" ${WRKSRC} | ${XARGS} \ >- ${PERL} -pi -e "s/malloc.h/stdlib.h/g" >+ ${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" > @${FIND} ${WRKSRC} -name "Makefile*" | ${XARGS} \ >- ${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS =,CFLAGS+=,g ; \ >+ ${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CFLAGS =,CFLAGS+=,g ; \ > s,-Wall -g,,g" > > do-install: >Index: leoarg/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/leoarg/Makefile,v >retrieving revision 1.3 >diff -u -r1.3 Makefile >--- leoarg/Makefile 20 Apr 2002 15:20:38 -0000 1.3 >+++ leoarg/Makefile 25 Jun 2002 14:01:39 -0000 >@@ -14,6 +14,7 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > GNU_CONFIGURE= yes > CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} > INSTALLS_SHLIB= yes >@@ -24,7 +25,7 @@ > > post-patch: > .for file in Makefile.in doc/Makefile.in >- @${PERL} -pi -e 's|^docdir|#docdir|g ; \ >+ @${REINPLACE_CMD} -e 's|^docdir|#docdir|g ; \ > s| install-data-local||g' ${WRKSRC}/${file} > .endfor > >Index: libafterbase/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/libafterbase/Makefile,v >retrieving revision 1.3 >diff -u -r1.3 Makefile >--- libafterbase/Makefile 28 Feb 2002 21:24:42 -0000 1.3 >+++ libafterbase/Makefile 25 Jun 2002 14:01:39 -0000 >@@ -15,6 +15,7 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > USE_X_PREFIX= yes > GNU_CONFIGURE= yes > CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} >@@ -22,7 +23,7 @@ > INSTALLS_SHLIB= yes > > post-patch: >- @find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \ >+ @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \ > 's|<malloc.h>|<stdlib.h>|g' > > .include <bsd.port.mk> >Index: libformat/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/libformat/Makefile,v >retrieving revision 1.7 >diff -u -r1.7 Makefile >--- libformat/Makefile 20 Apr 2002 15:24:12 -0000 1.7 >+++ libformat/Makefile 25 Jun 2002 14:01:39 -0000 >@@ -15,6 +15,7 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > GNU_CONFIGURE= yes > CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} > INSTALLS_SHLIB= yes >@@ -22,7 +23,7 @@ > MAN3= Format.3 > > post-patch: >- @${PERL} -pi -e 's| install-data-local||g' ${WRKSRC}/doc/Makefile.in >+ @${REINPLACE_CMD} -e 's| install-data-local||g' ${WRKSRC}/doc/Makefile.in > > post-install: > .if !defined(NOPORTDOCS) >Index: libshbuf/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/libshbuf/Makefile,v >retrieving revision 1.1 >diff -u -r1.1 Makefile >--- libshbuf/Makefile 6 May 2002 14:47:14 -0000 1.1 >+++ libshbuf/Makefile 25 Jun 2002 14:01:39 -0000 >@@ -14,11 +14,12 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > USE_LIBTOOL= yes > GNU_CONFIGURE= yes > INSTALLS_SHLIB= yes > > 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: linguist/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/linguist/Makefile,v >retrieving revision 1.5 >diff -u -r1.5 Makefile >--- linguist/Makefile 23 Nov 2001 18:17:52 -0000 1.5 >+++ linguist/Makefile 25 Jun 2002 14:01:40 -0000 >@@ -17,6 +17,7 @@ > > WRKSRC= ${WRKDIR}/${PORTNAME} > >+USE_REINPLACE= yes > USE_QT_VER= 2 > USE_X_PREFIX= yes > USE_GMAKE= yes >@@ -34,14 +35,14 @@ > .endif > > pre-configure: >- @find ${WRKSRC} -name '*.pro' | xargs ${PERL} -pi -e \ >+ @${FIND} ${WRKSRC} -name '*.pro' | ${XARGS} ${REINPLACE_CMD} -E -e \ > 's/(^CONFIG.*)/\1 thread/' > > post-configure: >- @${PERL} -pi -e 's|\$\(SUBDIRS\):.*tmake_all|\$\(SUBDIRS\):|' \ >+ @${REINPLACE_CMD} -e 's|\$$(SUBDIRS):.*tmake_all|\$$(SUBDIRS):|' \ > ${WRKSRC}/Makefile >- @find ${WRKSRC} -name "Makefile" -type f | xargs ${PERL} -pi -e \ >- 's|TARGET.*=.*\$\(QTDIR\)/bin/|TARGET=|' >+ @${FIND} ${WRKSRC} -name "Makefile" -type f | ${XARGS} ${REINPLACE_CMD} -e \ >+ 's|TARGET.*=.*\$$(QTDIR)/bin/|TARGET=|' > > do-install: > .for file in linguist lrelease lupdate qm2ts >Index: log4cpp/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/log4cpp/Makefile,v >retrieving revision 1.5 >diff -u -r1.5 Makefile >--- log4cpp/Makefile 8 Jun 2002 05:20:27 -0000 1.5 >+++ log4cpp/Makefile 25 Jun 2002 14:01:40 -0000 >@@ -14,12 +14,13 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > GNU_CONFIGURE= yes > CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} > INSTALLS_SHLIB= yes > > post-patch: >- @${PERL} -pi -e 's, endl, std::endl,g' ${WRKSRC}/tests/Clock.cpp \ >+ @${REINPLACE_CMD} -e 's, endl, std::endl,g' ${WRKSRC}/tests/Clock.cpp \ > ${WRKSRC}/tests/testbench.cpp > > .include <bsd.port.mk> >Index: openzz/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/openzz/Makefile,v >retrieving revision 1.2 >diff -u -r1.2 Makefile >--- openzz/Makefile 22 May 2002 12:08:01 -0000 1.2 >+++ openzz/Makefile 25 Jun 2002 14:01:40 -0000 >@@ -14,6 +14,7 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > USE_LIBTOOL= yes > GNU_CONFIGURE= yes > INSTALLS_SHLIB= yes >@@ -21,9 +22,9 @@ > .include <bsd.port.pre.mk> > > post-patch: >- @${PERL} -pi -e "s/cfree/free/g" ${WRKSRC}/src/list.c >+ @${REINPLACE_CMD} -e "s/cfree/free/g" ${WRKSRC}/src/list.c > .if ${OSVERSION} <= 500027 >- @${FIND} ${WRKSRC}/src -type f | ${XARGS} ${PERL} -pi \ >+ @${FIND} ${WRKSRC}/src -type f | ${XARGS} ${REINPLACE_CMD} \ > -e 's|<stdint.h>|<inttypes.h>|' > .endif > >Index: pcre++/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/pcre++/Makefile,v >retrieving revision 1.3 >diff -u -r1.3 Makefile >--- pcre++/Makefile 16 Mar 2002 07:29:19 -0000 1.3 >+++ pcre++/Makefile 25 Jun 2002 14:01:41 -0000 >@@ -17,6 +17,7 @@ > > PCRE_CONFIG?= ${LOCALBASE}/bin/pcre-config > >+USE_REINPLACE= yes > USE_GMAKE= yes > USE_LIBTOOL= yes > CONFIGURE_ENV= CPPFLAGS="`${PCRE_CONFIG} --cflags`" \ >@@ -26,9 +27,9 @@ > MAN3= Pcre.3 > > post-patch: >- @${PERL} -pi -e 's|-I/usr/local/include||g ; \ >+ @${REINPLACE_CMD} -e 's|-I/usr/local/include||g ; \ > s|-L/usr/local/lib||g' ${WRKSRC}/configure >- @${PERL} -pi -e 's|-O -g|\@CXXFLAGS\@|g' ${WRKSRC}/Makefile.in >+ @${REINPLACE_CMD} -e 's|-O -g|\@CXXFLAGS\@|g' ${WRKSRC}/Makefile.in > > post-install: > .if !defined(NOPORTDOCS) >Index: py-mx-experimental/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/py-mx-experimental/Makefile,v >retrieving revision 1.4 >diff -u -r1.4 Makefile >--- py-mx-experimental/Makefile 29 Apr 2002 14:01:07 -0000 1.4 >+++ py-mx-experimental/Makefile 25 Jun 2002 14:01:41 -0000 >@@ -19,10 +19,11 @@ > BUILD_DEPENDS= ${PREFIX}/include/gmp.h:${PORTSDIR}/math/libgmp4 > RUN_DEPENDS= ${PYTHON_SITELIBDIR}/mx/BeeBase/BeeBase.py:${PORTSDIR}/lang/py-mx-base > >+USE_REINPLACE= yes > USE_PYTHON= yes > USE_PYDISTUTILS= yes > > post-patch: >- @${PERL} -pi -e "s|LIBGMPH|${PREFIX}/include|" ${WRKSRC}/mxEXPERIMENTAL.py >+ @${REINPLACE_CMD} -e "s|LIBGMPH|${PREFIX}/include|" ${WRKSRC}/mxEXPERIMENTAL.py > > .include <bsd.port.mk> >Index: qtk/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/qtk/Makefile,v >retrieving revision 1.7 >diff -u -r1.7 Makefile >--- qtk/Makefile 28 Jan 2001 04:03:31 -0000 1.7 >+++ qtk/Makefile 25 Jun 2002 14:01:41 -0000 >@@ -16,6 +16,7 @@ > > RUN_DEPENDS= ${LOCALBASE}/bin/wish8.2:${PORTSDIR}/x11-toolkits/tk82 > >+USE_REINPLACE= yes > EXTRACT_CMD= ${CP} > EXTRACT_BEFORE_ARGS= # empty > EXTRACT_AFTER_ARGS= . >@@ -28,7 +29,7 @@ > WISH= ${LOCALBASE}/bin/wish8.2 > > do-configure: >- @${PERL} -pi.dist \ >+ @${REINPLACE_CMD} \ > -e 's|/usr/bin/wish|${WISH}|;' \ > -e 's|keepnewline wish|keepnewline ${WISH}|' ${WRKSRC}/qtk > >Index: styx/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/styx/Makefile,v >retrieving revision 1.9 >diff -u -r1.9 Makefile >--- styx/Makefile 25 Mar 2002 12:16:00 -0000 1.9 >+++ styx/Makefile 25 Jun 2002 14:01:42 -0000 >@@ -17,6 +17,7 @@ > > LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv > >+USE_REINPLACE= yes > USE_GMAKE= yes > USE_LIBTOOL= yes > CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_FLAGS}" \ >@@ -27,7 +28,7 @@ > @${RM} -f ${WRKSRC}/config.cache > > post-patch: >- @${PERL} -pi -e "s,-lrt,${PTHREAD_LIBS},g" ${WRKSRC}/configure >+ @${REINPLACE_CMD} -e "s,-lrt,${PTHREAD_LIBS},g" ${WRKSRC}/configure > > post-install: > .if !defined(NOPORTDOCS) >Index: terminality/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/terminality/Makefile,v >retrieving revision 1.4 >diff -u -r1.4 Makefile >--- terminality/Makefile 22 Oct 2001 07:10:43 -0000 1.4 >+++ terminality/Makefile 25 Jun 2002 14:01:42 -0000 >@@ -14,13 +14,14 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > USE_GMAKE= yes > MAKE_ENV= CPP=${CXX} INSTALL="${INSTALL}" INSTALL_DATA="${INSTALL_DATA}" > > post-patch: >- @find ${WRKSRC} -name Makefile | xargs \ >- ${PERL} -pi -e "s, -lstdc\\+\\+,,g" >- @${PERL} -pi -e "s,make,gmake,g ; \ >+ @${FIND} ${WRKSRC} -name Makefile | ${XARGS} \ >+ ${REINPLACE_CMD} -e "s, -lstdc\\+\\+,,g" >+ @${REINPLACE_CMD} -e "s,make,gmake,g ; \ > s,/usr/local,${PREFIX},g" ${WRKSRC}/Makefile > > .if !defined(NOPORTDOCS) >Index: titano/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/titano/Makefile,v >retrieving revision 1.7 >diff -u -r1.7 Makefile >--- titano/Makefile 18 Oct 2001 15:07:43 -0000 1.7 >+++ titano/Makefile 25 Jun 2002 14:01:42 -0000 >@@ -18,17 +18,18 @@ > > WRKSRC= ${WRKDIR}/${DISTNAME:S/b//} > >+USE_REINPLACE= yes > USE_GNOMELIBS= yes > USE_X_PREFIX= yes > USE_GMAKE= yes > USE_LIBTOOL= yes > > pre-patch: >- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ >+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ > s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure >- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ >- 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ >- s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' >+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ >+ 's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \ >+ s|\$$(datadir)/locale|\$$(prefix)/share/locale|g' > > post-install: > ${MKDIR} ${PREFIX}/share/gnome/pixmaps/titano >Index: tvision/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/tvision/Makefile,v >retrieving revision 1.23 >diff -u -r1.23 Makefile >--- tvision/Makefile 1 Jun 2002 14:46:22 -0000 1.23 >+++ tvision/Makefile 25 Jun 2002 14:01:42 -0000 >@@ -15,6 +15,7 @@ > > MAINTAINER= ports@FreeBSD.org > >+USE_REINPLACE= yes > GNU_CONFIGURE= yes > CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} > INSTALLS_SHLIB= yes >@@ -23,9 +24,9 @@ > @${MV} ${WRKSRC}/myendian.h ${WRKSRC}/lib > > post-patch: >- @${PERL} -pi -e 's,myendian.h,tvision/myendian.h,g' \ >+ @${REINPLACE_CMD} -e 's,myendian.h,tvision/myendian.h,g' \ > ${WRKSRC}/lib/drawbuf.h ${WRKSRC}/lib/system.h >- @${PERL} -pi -e 's,menus.h msgbox.h,menus.h msgbox.h myendian.h,' \ >+ @${REINPLACE_CMD} -e 's,menus.h msgbox.h,menus.h msgbox.h myendian.h,' \ > ${WRKSRC}/lib/Makefile.in > > .include <bsd.port.mk> >Index: uisp/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/uisp/Makefile,v >retrieving revision 1.1 >diff -u -r1.1 Makefile >--- uisp/Makefile 11 Mar 2001 02:11:16 -0000 1.1 >+++ uisp/Makefile 25 Jun 2002 14:01:42 -0000 >@@ -16,10 +16,11 @@ > > WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src > >+USE_REINPLACE= yes > USE_GMAKE= yes > > post-patch: >- ${PERL} -pi -e "s@-O3@${CFLAGS}@g; \ >+ @${REINPLACE_CMD} -e "s@-O3@${CFLAGS}@g; \ > s@g\+\+@${CXX}@g" ${WRKSRC}/Makefile > > .include <bsd.port.mk> >Index: xparam/Makefile >=================================================================== >RCS file: /home/ncvs/ports/devel/xparam/Makefile,v >retrieving revision 1.3 >diff -u -r1.3 Makefile >--- xparam/Makefile 1 Apr 2002 10:19:39 -0000 1.3 >+++ xparam/Makefile 25 Jun 2002 14:01:42 -0000 >@@ -16,12 +16,13 @@ > > BUILD_DEPENDS= libtool:${PORTSDIR}/devel/libtool > >+USE_REINPLACE= yes > GNU_CONFIGURE= yes > CONFIGURE_ARGS= --enable-dynamic > USE_GMAKE= yes > INSTALLS_SHLIB= yes > > post-patch: >- @${PERL} -pi -e "s,-ldl,,g" ${WRKSRC}/configure >+ @${REINPLACE_CMD} -e "s,-ldl,,g" ${WRKSRC}/configure > > .include <bsd.port.mk>
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 39842
: 23091