Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2002 15:31:58 -0700 (PDT)
From:      Scott Flatman <sf@dsinw.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/39962: ports/astro  ${PERL} -> ${REINPLACE_CMD}
Message-ID:  <20020628153119.A56141-100000@ivymike.foo.kom>

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

>Number:         39962
>Category:       ports
>Synopsis:       ports/astro  ${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:   Fri Jun 28 15:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Scott Flatman
>Release:        
>Organization:
>Environment:
>Description:
	${PERL} -> ${REINPLACE_CMD}
>How-To-Repeat:
>Fix:

--- patch-pyweather begins here ---
--- Makefile.orig	Mon Apr 29 04:24:29 2002
+++ Makefile	Fri Jun 28 14:31:28 2002
@@ -14,11 +14,12 @@

 MAINTAINER=	ports@FreeBSD.org

+USE_REINPLACE=	yes
 USE_PYTHON=	yes
 NO_BUILD=	yes

 post-patch:
-	@${PERL} -pi -e "s:/usr/bin/python:${PYTHON_CMD}:g ; \
+	@${REINPLACE_CMD} -e "s:/usr/bin/python:${PYTHON_CMD}:g ; \
 		s:pyWeather.py:pyWeather:g" ${WRKSRC}/pyWeather.py

 do-install:
--- patch-pyweather ends here ---

--- patch-xephem begins here ---
--- Makefile.orig	Tue Jan 29 01:33:24 2002
+++ Makefile	Fri Jun 28 14:36:39 2002
@@ -16,6 +16,7 @@

 WRKSRC=		${WRKDIR}/${DISTNAME}/GUI/xephem

+USE_REINPLACE=	yes
 USE_MOTIF=	yes
 USE_IMAKE=	yes
 MAN1=		xephem.1
@@ -24,7 +25,7 @@
 LIBIPSRC=	${WRKDIR}/${DISTNAME}/libip

 post-patch:
-	@${PERL} -pi -e 's|CC =|CC?=|g ; \
+	@${REINPLACE_CMD} -e 's|CC =|CC?=|g ; \
 		 s|CFLAGS=|CFLAGS+=|g ; \
 		 s|-O2 ||g' ${LIBASTROSRC}/Makefile ${LIBIPSRC}/Makefile
--- patch-xephem 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?20020628153119.A56141-100000>