Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2002 10:39:27 -0700 (PDT)
From:      Scott Flatman <sf@dsinw.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/39794: ports/x11-wm  ${PERL} -> ${REINPLACE_CMD}
Message-ID:  <20020624103853.Q6957-100000@ivymike.satan.kom>

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

>Number:         39794
>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:   Mon Jun 24 10:40:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Scott Flatman
>Release:        
>Organization:
>Environment:
>Description:
	${PERL} -> ${REINPLACE_CMD}
>How-To-Repeat:
>Fix:

--- patch-aewm++ begins here ---
--- Makefile.orig	Sat Jun  1 22:53:05 2002
+++ Makefile	Mon Jun 24 10:33:47 2002
@@ -14,6 +14,7 @@

 MAINTAINER=	ports@FreeBSD.org

+USE_REINPLACE=	yes
 USE_X_PREFIX=	yes
 USE_GMAKE=	yes
 CXXFLAGS+=	-I${X11BASE}/include
@@ -22,7 +23,7 @@
 MAN1=	aewm++.1x

 post-patch:
-	@${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
+	@${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
 		s,^prefix,#prefix,g ; s,prefix,PREFIX,g ; \
 		s,CC,CXX,g ; s,CFLAGS,CXXFLAGS,g" ${WRKSRC}/Makefile
--- patch-aewm++ ends here ---

--- patch-xfce begins here ---
--- Makefile.orig	Mon May 27 09:55:57 2002
+++ Makefile	Mon Jun 24 10:36:33 2002
@@ -18,6 +18,7 @@
 		iconv.3:${PORTSDIR}/converters/libiconv \
 		gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf

+USE_REINPLACE=	yes
 USE_X_PREFIX=	yes
 USE_GTK=	yes
 USE_XPM=	yes
@@ -56,12 +57,12 @@
 .endif

 pre-patch:
-	@${PERL} -pi -e 's|=aclocal|=${TRUE}|g ; \
+	@${REINPLACE_CMD} -e 's|=aclocal|=${TRUE}|g ; \
 		 s|=autoconf|=${TRUE}|g ; \
 		 s|=automake|=${TRUE}|g ; \
 		 s|=autoheader|=${TRUE}|g ; \
 		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
-	@${PERL} -pi -e 's|gtk-config|${GTK_CONFIG:T}|g' ${WRKSRC}/xfce/setup.c
-	@${PERL} -pi -e 's|xfplay|internal|g' ${WRKSRC}/other/xfsoundrc.in
+	@${REINPLACE_CMD} -e 's|gtk-config|${GTK_CONFIG:T}|g' ${WRKSRC}/xfce/setup.c
+	@${REINPLACE_CMD} -e 's|xfplay|internal|g' ${WRKSRC}/other/xfsoundrc.in

 .include <bsd.port.post.mk>
--- patch-xfce 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?20020624103853.Q6957-100000>