Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2002 03:20:03 -0700 (PDT)
From:      Oliver Braun <obraun@informatik.unibw-muenchen.de>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/39273: Update port: cad/xcircuit ${PERL} -> ${REINPLACE_CMD}
Message-ID:  <200206161020.g5GAK3214806@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/39273; it has been noted by GNATS.

From: Oliver Braun <obraun@informatik.unibw-muenchen.de>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Cc:  
Subject: Re: ports/39273: Update port: cad/xcircuit ${PERL} -> ${REINPLACE_CMD}
Date: Sun, 16 Jun 2002 12:10:36 +0200

 Mega-patch for category cad.
 
 Obsoletes PR's ports/39268, ports/39269, ports/39270, ports/39271,
 ports/39272, and ports/39273.
 
 Regards,
          Olli
 
 
 Index: felt/Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/cad/felt/Makefile,v
 retrieving revision 1.22
 diff -u -r1.22 Makefile
 --- felt/Makefile	28 Apr 2002 16:31:45 -0000	1.22
 +++ felt/Makefile	16 Jun 2002 10:02:41 -0000
 @@ -27,7 +27,7 @@
  MAN4=		corduroy.4 felt.4
  
  post-patch:
 -	@${PERL} -pi -e 's,<malloc.h>,<stdlib.h>, ; s,"malloc.h",<stdlib.h>,' \
 +	@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>, ; s,"malloc.h",<stdlib.h>,' \
  	${WRKSRC}/lib/Felt/parser.c ${WRKSRC}/lib/Felt/parser.c	\
  	${WRKSRC}/lib/Widgets/xwd.c ${WRKSRC}/lib/Matrix/data.c	\
  	${WRKSRC}/lib/Matrix/factor.c ${WRKSRC}/lib/Matrix/eigen.c \
 Index: gnucap/Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/cad/gnucap/Makefile,v
 retrieving revision 1.3
 diff -u -r1.3 Makefile
 --- gnucap/Makefile	12 Jun 2002 15:53:39 -0000	1.3
 +++ gnucap/Makefile	16 Jun 2002 10:02:41 -0000
 @@ -19,7 +19,7 @@
  
  post-patch:
  .for file in src/Make2.g++ src/Make.aux modelgen/Make.aux
 -	@${PERL} -pi -e 's|g\+\+|\$$\{CXX\}|g ; \
 +	@${REINPLACE_CMD} -e 's|g\+\+|\$$\{CXX\}|g ; \
  		 s|-O2|\$$\{CXXFLAGS\}|g' ${WRKSRC}/${file}
  .endfor
  
 Index: gtkwave/Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/cad/gtkwave/Makefile,v
 retrieving revision 1.3
 diff -u -r1.3 Makefile
 --- gtkwave/Makefile	10 Jun 2002 17:26:09 -0000	1.3
 +++ gtkwave/Makefile	16 Jun 2002 10:02:41 -0000
 @@ -24,7 +24,7 @@
  
  post-patch:
  	@${GREP} -lR "heapsort" ${WRKSRC}/src | ${XARGS} \
 -		${PERL} -pi -e "s/heapsort/hsort/g"
 +		${REINPLACE_CMD} -e "s/heapsort/hsort/g"
  
  .if !defined(NOPORTDOCS)
  post-install:
 Index: qcad/Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/cad/qcad/Makefile,v
 retrieving revision 1.15
 diff -u -r1.15 Makefile
 --- qcad/Makefile	30 May 2002 18:08:37 -0000	1.15
 +++ qcad/Makefile	16 Jun 2002 10:02:41 -0000
 @@ -25,7 +25,7 @@
  .endif
  
  post-patch:
 -	@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.cpp
 +	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.cpp
  
  do-install:
  	${INSTALL_PROGRAM} ${WRKSRC}/qcad ${PREFIX}/bin
 Index: slffea/Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/cad/slffea/Makefile,v
 retrieving revision 1.1
 diff -u -r1.1 Makefile
 --- slffea/Makefile	9 Feb 2002 07:30:11 -0000	1.1
 +++ slffea/Makefile	16 Jun 2002 10:02:41 -0000
 @@ -38,7 +38,7 @@
  
  post-patch:
  	@(find ${WRKSRC} -name Makefile | xargs \
 -	  ${PERL} -pi -e "s,^CC = (.*),CC = ${CC} ${CFLAGS},g ; \
 +	  ${REINPLACE_CMD} -e "s,^CC = (.*),CC = ${CC} ${CFLAGS},g ; \
  	    s,-lglut,-lglut ${PTHREAD_LIBS},g")
  
  do-install:
 Index: xcircuit/Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/cad/xcircuit/Makefile,v
 retrieving revision 1.33
 diff -u -r1.33 Makefile
 --- xcircuit/Makefile	22 May 2002 12:58:21 -0000	1.33
 +++ xcircuit/Makefile	16 Jun 2002 10:02:41 -0000
 @@ -24,7 +24,7 @@
  MAN1=		xcircuit.1
  
  post-patch:
 -	@find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
 +	@find ${WRKSRC} -name '*.[ch]' | xargs ${REINPLACE_CMD} -e \
  		's|<malloc.h>|<stdlib.h>|g'
  
  post-install:

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?200206161020.g5GAK3214806>