Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2002 11:08:23 +0200 (CEST)
From:      Oliver Braun <obraun@informatik.unibw-muenchen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/39266: Update port: x11/gdkxft ${PERL} -> ${REINPLACE_CMD}
Message-ID:  <20020614090823.DDEDE5A549@nemesis.informatik.unibw-muenchen.de>

next in thread | raw e-mail | index | archive | help

>Number:         39266
>Category:       ports
>Synopsis:       Update port: x11/gdkxft ${PERL} -> ${REINPLACE_CMD}
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 14 02:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Braun
>Release:        FreeBSD 4.6-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD nemesis.informatik.unibw-muenchen.de 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Thu May 2 11:59:09 CEST 2002 root@nemesis.informatik.unibw-muenchen.de:/usr/obj/usr/src/sys/NEMESIS_OB i386


>Description:

Replace ${PERL} with ${REINPLACE_CMD}.

Regards,
         Olli
>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/gdkxft/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	19 May 2002 19:56:14 -0000	1.11
+++ Makefile	14 Jun 2002 09:07:46 -0000
@@ -40,18 +40,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
 
>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?20020614090823.DDEDE5A549>