Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2002 14:58:58 +0200 (CEST)
From:      Oliver Braun <obraun@informatik.unibw-muenchen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/39656: Update ports@ maintained ports in category math: ${PERL} -> ${REINPLACE_CMD}
Message-ID:  <20020622125858.0E0912A5@unsane.de>

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

>Number:         39656
>Category:       ports
>Synopsis:       Update ports@ maintained ports in category math: ${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:   Sat Jun 22 06:00:16 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Braun
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD galore.unsane.de 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jun 16 12:43:32 CEST 2002 root@galore.unsane.de:/usr/obj/usr/src/sys/GALORE_OB i386


>Description:

Replace ${PERL} with ${REINPLACE_CMD} in

math/GiNaC
math/clarence
math/freefem
math/newmat
math/oleo
math/physcalc
math/plplot
math/rascal
math/spar
math/vtk

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

Index: GiNaC/Makefile
===================================================================
RCS file: /home/ncvs/ports/math/GiNaC/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- GiNaC/Makefile	2002/06/13 10:39:28	1.16
+++ GiNaC/Makefile	2002/06/22 12:57:30
@@ -17,6 +17,7 @@
 
 LIB_DEPENDS=	cln.2:${PORTSDIR}/math/cln
 
+USE_REINPLACE=	yes
 USE_BZIP2=	yes
 USE_NEWGCC=	yes
 USE_GMAKE=	yes
@@ -34,10 +35,10 @@
 
 post-patch:
 .for file in configure ginac/numeric.cpp ginac/tostring.h
-	@${PERL} -pi -e 's|sstream|strstream|g ; \
+	@${REINPLACE_CMD} -e 's|sstream|strstream|g ; \
 		 s|stringstream|strstream|g' ${WRKSRC}/${file}
 .endfor
-	@${PERL} -pi -e 's|-release \$$\(LT_RELEASE\)||g' \
+	@${REINPLACE_CMD} -e 's|-release \$$(LT_RELEASE)||g' \
 		${WRKSRC}/ginac/Makefile.in
 
 .include <bsd.port.mk>
Index: clarence/Makefile
===================================================================
RCS file: /home/ncvs/ports/math/clarence/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- clarence/Makefile	2002/05/10 17:37:54	1.3
+++ clarence/Makefile	2002/06/22 12:57:30
@@ -15,13 +15,14 @@
 
 RUN_DEPENDS=	${PYTHON_SITELIBDIR}/GDK.py:${PORTSDIR}/x11-toolkits/py-gtk
 
+USE_REINPLACE=	yes
 USE_PYTHON=	yes
 NO_BUILD=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}
 MAN1=	clarence.1
 
 post-patch:
-	@${PERL} -pi -e "s,#!/usr/bin/python,#!/usr/bin/env python,g" ${WRKSRC}/clarence.py
+	@${REINPLACE_CMD} -e "s,#!/usr/bin/python,#!/usr/bin/env python,g" ${WRKSRC}/clarence.py
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/clarence.py ${PREFIX}/bin/clarence
Index: freefem/Makefile
===================================================================
RCS file: /home/ncvs/ports/math/freefem/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- freefem/Makefile	2002/03/25 12:24:20	1.13
+++ freefem/Makefile	2002/06/22 12:57:31
@@ -13,6 +13,7 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
+USE_REINPLACE=	yes
 USE_X_PREFIX=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
@@ -22,8 +23,8 @@
 MAN1=		freefem.1
 
 post-patch:
-	@${PERL} -pi -e 's|-O3 |\$$CXXFLAGS |g' ${WRKSRC}/configure
-	@${PERL} -pi -e 's|debian doc freefem|debian freefem|g ; \
+	@${REINPLACE_CMD} -e 's|-O3 |\$$CXXFLAGS |g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|debian doc freefem|debian freefem|g ; \
 		 s|^install-data-am:|install-data-am: #|g' ${WRKSRC}/Makefile.in
 
 post-install:
Index: newmat/Makefile
===================================================================
RCS file: /home/ncvs/ports/math/newmat/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- newmat/Makefile	2002/06/14 22:04:33	1.2
+++ newmat/Makefile	2002/06/22 12:57:32
@@ -15,12 +15,13 @@
 MAINTAINER=	ports@FreeBSD.org
 
 NO_WRKSUBDIR=	yes
+USE_REINPLACE=	yes
 USE_GMAKE=	yes
 MAKEFILE=	nm_gnu.mak
 ALL_TARGET=	everything
 
 post-patch:
-	@${PERL} -pi -e "s,^CXX,#CXX,g ; \
+	@${REINPLACE_CMD} -e "s,^CXX,#CXX,g ; \
 		s,^CXXFLAGS,#CXXFLAGS,g" ${WRKSRC}/${MAKEFILE}
 
 do-install:
Index: oleo/Makefile
===================================================================
RCS file: /home/ncvs/ports/math/oleo/Makefile,v
retrieving revision 1.28
diff -u -r1.28 Makefile
--- oleo/Makefile	2002/06/09 17:28:18	1.28
+++ oleo/Makefile	2002/06/22 12:57:32
@@ -16,6 +16,7 @@
 
 LIB_DEPENDS=	intl.2:${PORTSDIR}/devel/gettext
 
+USE_REINPLACE=	yes
 USE_AUTOCONF_VER=213
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
 		LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
@@ -42,6 +43,6 @@
 
 post-patch:
 	@find ${WRKSRC} -name '*.[ch]' | xargs \
-		${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g"
+		${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|g"
 
 .include <bsd.port.mk>
Index: physcalc/Makefile
===================================================================
RCS file: /home/ncvs/ports/math/physcalc/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- physcalc/Makefile	2001/12/24 10:37:42	1.4
+++ physcalc/Makefile	2002/06/22 12:57:32
@@ -17,6 +17,7 @@
 EXTRACT_AFTER_ARGS=	-x physcalc -d ${WRKDIR}
 
 NO_WRKSUBDIR=	yes
+USE_REINPLACE=	yes
 USE_ZIP=	yes
 
 DEFS=		-DSHAREDIR="\"${PREFIX}/share/physcalc/\""
@@ -24,7 +25,7 @@
 		physsolv.c
 
 pre-build:
-	${PERL} -pi -e "s@void main@int main@g" ${WRKSRC}/physmain.c
+	${REINPLACE_CMD} -e "s@void main@int main@g" ${WRKSRC}/physmain.c
 
 do-build:
 	(cd ${WRKSRC} && ${CC} ${CFLAGS} ${DEFS} ${SRCS} -lm -o physcalc)
Index: plplot/Makefile
===================================================================
RCS file: /home/ncvs/ports/math/plplot/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- plplot/Makefile	2002/03/09 17:55:33	1.21
+++ plplot/Makefile	2002/06/22 12:57:33
@@ -16,6 +16,7 @@
 LIB_DEPENDS=	gd.2:${PORTSDIR}/graphics/gd
 BUILD_DEPENDS=	gm4:${PORTSDIR}/devel/m4
 
+USE_REINPLACE=	yes
 USE_XLIB=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	F77="${FC}" FFLAGS="${FFLAGS}" \
@@ -54,7 +55,7 @@
 
 post-patch:
 .for file in scripts/mktclIndex
-	@${PERL} -pi -e 's|tclsh|${LOCALBASE}/bin/tclsh8.3|g' ${WRKSRC}/${file}
+	@${REINPLACE_CMD} -e 's|tclsh|${LOCALBASE}/bin/tclsh8.3|g' ${WRKSRC}/${file}
 .endfor
 
 .include <bsd.port.mk>
Index: rascal/Makefile
===================================================================
RCS file: /home/ncvs/ports/math/rascal/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- rascal/Makefile	2002/06/20 16:44:19	1.14
+++ rascal/Makefile	2002/06/22 12:57:33
@@ -16,6 +16,7 @@
 
 LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt
 
+USE_REINPLACE=	yes
 USE_BISON=	yes
 USE_GNOME=	yes
 WRKSRC=		${WRKDIR}/Rascal-${PORTVERSION}
@@ -26,7 +27,7 @@
 MAN1=	rascal.1
 
 post-patch:
-	@${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g ; \
+	@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g ; \
 		s,g\+\+,${CXX},g ; \
 		s,doc/,share/doc/,g ; \
 		s,gnome-config,${GNOME_CONFIG},g ; \
Index: spar/Makefile
===================================================================
RCS file: /home/ncvs/ports/math/spar/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- spar/Makefile	2001/06/30 19:00:30	1.5
+++ spar/Makefile	2002/06/22 12:57:33
@@ -16,6 +16,7 @@
 
 LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt
 
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
 INSTALLS_SHLIB=	yes
@@ -23,6 +24,6 @@
 MAN1=	spar.1
 
 post-patch:
-	@${PERL} -pi -e "s,-ldl,,g" ${WRKSRC}/lib/Makefile.in
+	@${REINPLACE_CMD} -e "s,-ldl,,g" ${WRKSRC}/lib/Makefile.in
 
 .include <bsd.port.mk>
Index: vtk/Makefile
===================================================================
RCS file: /home/ncvs/ports/math/vtk/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- vtk/Makefile	2002/01/02 04:16:45	1.16
+++ vtk/Makefile	2002/06/22 12:57:34
@@ -16,6 +16,7 @@
 
 LIB_DEPENDS=	tk83.1:${PORTSDIR}/x11-toolkits/tk83
 
+USE_REINPLACE=	yes
 USE_MESA=	yes
 WRKSRC=		${WRKDIR}/vtk${PORTVERSION}
 INSTALLS_SHLIB=	yes
@@ -35,11 +36,11 @@
 .endif
 
 post-patch:
-	${PERL} -pi -e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g; \
+	@${REINPLACE_CMD} -e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g; \
 		s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g; \
 		s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g" \
 		${WRKSRC}/user.make
-	@${FIND} ${WRKSRC} -name "*.cxx" | ${XARGS} ${PERL} -pi -e \
+	@${FIND} ${WRKSRC} -name "*.cxx" | ${XARGS} ${REINPLACE_CMD} -e \
 		's|malloc.h|stdlib.h|'
 
 post-install:
>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?20020622125858.0E0912A5>