Date: Sun, 23 Jun 2002 19:52:37 -0700 (PDT) From: Scott Flatman <sf@dsinw.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/39755: ports/x11 ${PERL} -> ${REINPLACE_CMD} Message-ID: <20020623195156.J4685-100000@ivymike.satan.kom>
next in thread | raw e-mail | index | archive | help
>Number: 39755 >Category: ports >Synopsis: ${PERL} -> ${REINPLACE_CMD} >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Jun 23 20:00:04 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Scott Flatman >Release: >Organization: >Environment: >Description: ${PERL} -> ${REINPLACE_CMD} >How-To-Repeat: >Fix: --- patch-gdkxft begins here --- --- Makefile.orig Sun Jun 23 19:31:11 2002 +++ Makefile Sun Jun 23 19:31:40 2002 @@ -16,6 +16,7 @@ LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv +USE_REINPLACE= yes USE_X_PREFIX= yes USE_GTK= yes WANT_GNOME= yes @@ -40,18 +41,18 @@ .endif post-patch: - @${PERL} -pi -e 's|gtk-config --prefix|\$$GTK_CONFIG --prefix|g ; \ + @${REINPLACE_CMD} -e 's|gtk-config --prefix|\$$GTK_CONFIG --prefix|g ; \ s|libgdk.la|libgdk12.so|g ; \ s|libgdk.so|libgdk12.so|g ; \ s|GDK_DLOPEN_NAME=.*$$|GDK_DLOPEN_NAME="libgdk12.so"|g' \ ${WRKSRC}/configure - @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \ 's|src capplet|src \@BUILD_CAPPLET_TRUE\@capplet|g ; \ s|DESTDIR\)\$$\(datadir|DESTDIR\)\$$\(pkgdatadir|g ; \ s|/gnome/apps/|/apps/|g ; \ s|la_LDFLAGS =.*$$|la_LDFLAGS = -module -avoid-version|g' .for file in gdkxft_sysinstall.in gdkxft.c generate.pl - @${PERL} -pi -e 's|<regex.h>|<gnuregex.h>|g ; \ + @${REINPLACE_CMD} -e 's|<regex.h>|<gnuregex.h>|g ; \ s|gtk-config |${GTK_CONFIG:T} |g' ${WRKSRC}/src/${file} .endfor --- patch-gdkxft ends here --- --- patch-imwheel begins here --- --- Makefile.orig Thu Jun 28 16:48:44 2001 +++ Makefile Sun Jun 23 19:32:47 2002 @@ -12,6 +12,7 @@ MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes USE_GMAKE= YES USE_X_PREFIX= YES GNU_CONFIGURE= YES @@ -21,7 +22,7 @@ post-patch: .for i in imwheel.1 util.c - @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${i} + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${i} .endfor post-install: --- patch-imwheel ends here --- --- patch-tycoon begins here --- --- Makefile.orig Mon Dec 24 02:37:43 2001 +++ Makefile Sun Jun 23 19:34:50 2002 @@ -15,12 +15,13 @@ LIB_DEPENDS= xforms:${PORTSDIR}/x11-toolkits/xforms +USE_REINPLACE= yes USE_IMAKE= yes USE_XPM= yes post-build: ${RM} -f ${WRKSRC}/xbackdrop/backdrops/index~ ;\ - ${PERL} -pi -e 's,/usr/lib,${PREFIX}/lib,' \ + ${REINPLACE_CMD} -e 's,/usr/lib,${PREFIX}/lib,' \ ${WRKSRC}/xbackdrop/backdrops/index .include <bsd.port.mk> --- patch-tycoon ends here --- --- patch-wdm begins here --- --- Makefile.orig Thu Apr 11 05:04:47 2002 +++ Makefile Sun Jun 23 19:35:49 2002 @@ -21,6 +21,7 @@ LIB_DEPENDS= wraster.4:${PORTSDIR}/x11-wm/windowmaker \ PropList.2:${PORTSDIR}/devel/libPropList +USE_REINPLACE= yes DIST_SUBDIR= wdm USE_X_PREFIX= yes USE_AUTOMAKE_VER=14 @@ -62,7 +63,7 @@ .endif post-patch: - @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/*.man + @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/*.man pre-install: @if [ -e ${PREFIX}/lib/X11/wdm/wdm-config ]; then \ --- patch-wdm ends here --- --- patch-xbanner begins here --- --- Makefile.orig Sun Aug 19 22:54:11 2001 +++ Makefile Sun Jun 23 19:37:29 2002 @@ -17,9 +17,10 @@ USE_X_PREFIX= yes USE_XPM= yes #USE_IMAKE= yes +USE_REINPLACE= yes post-patch: - @${PERL} -pi -e 's|%%X11BASE%%|${X11BASE}|g' \ + @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \ ${WRKSRC}/xres.c ${WRKSRC}/samples/XBanner.ad post-install: --- patch-xbanner ends here --- --- patch-xnee begins here --- --- Makefile.orig Fri May 31 13:44:23 2002 +++ Makefile Sun Jun 23 19:38:37 2002 @@ -16,9 +16,10 @@ GNU_CONFIGURE= yes USE_X_PREFIX= yes +USE_REINPLACE= yes post-patch: - @${PERL} -pi -e 's,^CFLAGS =,CFLAGS +=,' ${WRKSRC}/src/cli/Makefile.in \ + @${REINPLACE_CMD} -e 's,^CFLAGS =,CFLAGS +=,' ${WRKSRC}/src/cli/Makefile.in \ ${WRKSRC}/src/lib/Makefile.in .include <bsd.port.mk> --- patch-xnee ends here --- --- patch-xstroke begins here --- --- Makefile.orig Wed May 15 07:55:18 2002 +++ Makefile Sun Jun 23 19:40:05 2002 @@ -16,6 +16,7 @@ LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt +USE_REINPLACE= yes USE_BISON= yes USE_IMAKE= yes CFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS} @@ -24,10 +25,10 @@ MAN1= xstroke.1 post-patch: - @${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g ; \ + @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g ; \ s,%%CFLAGS%%,${CFLAGS},g ; \ s,%%LDFLAGS%%,${LDFLAGS},g" ${WRKSRC}/Imakefile - @${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/etc/Imakefile - @${PERL} -pi -e "s,etc/,${PREFIX}/etc/,g" ${WRKSRC}/args.h + @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/etc/Imakefile + @${REINPLACE_CMD} -e "s,etc/,${PREFIX}/etc/,g" ${WRKSRC}/args.h .include <bsd.port.mk> --- patch-xstroke ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020623195156.J4685-100000>