Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2002 11:43:10 +1000
From:      "Chris Knight" <chris@aims.com.au>
To:        <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/39975: [MAINTAINER UPDATE] net/rdesktop: ${PERL} -> ${REINPLACE_CMD}
Message-ID:  <200206290141.g5T1fR85028002@ait0fd01.aims.private>

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

>Number:         39975
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] net/rdesktop: ${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 28 18:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Chris Knight
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
AIMS Independent Computer Professionals
>Environment:

System: FreeBSD ait0fd01.aims.private 4.6-STABLE FreeBSD 4.6-STABLE #0: Fri Jun 28 11:10:31 EST 2002
root@ait0fd01.aims.private:/var/obj/var/src/sys/THINKPAD i386

>Description:

${PERL} -> ${REINPLACE_CMD}
Chase libgmp dependency

>How-To-Repeat:

N/A

>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/rdesktop/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile	30 Apr 2002 02:13:49 -0000	1.12
+++ Makefile	29 Jun 2002 01:20:55 -0000
@@ -23,6 +23,7 @@
 USE_BZIP2=	yes
 USE_GMAKE=	yes
 USE_OPENSSL=	yes
+USE_REINPLACE=	yes

 MAN1=		rdesktop.1
 ALL_TARGET=
@@ -30,24 +31,26 @@
 .include <bsd.port.pre.mk>

 .if ${OSVERSION} > 500023
-LIB_DEPENDS=	gmp.5:${PORTSDIR}/math/libgmp4
+LIB_DEPENDS=	gmp.6:${PORTSDIR}/math/libgmp4
 .endif

 do-patch:
 	@${EXTRACT_CMD} -dc ${_DISTDIR}/${PATCHFILES} | \
 		${PATCH} ${PATCH_DIST_ARGS}
 .if ${OSVERSION} > 500023
-	@${PERL} -pi.orig -e 's:-O2.*-Wall:${CFLAGS} -I${LOCALBASE}/include:g' \
+	@${REINPLACE_CMD} -e 's:-O2.*-Wall:${CFLAGS} -I${LOCALBASE}/include:g' \
 		${WRKSRC}/Makefile
-	@${PERL} -pi.orig -e 's:-lgmp:-L${LOCALBASE}/lib -lgmp:g' \
+	@${REINPLACE_CMD} -e 's:-lgmp:-L${LOCALBASE}/lib -lgmp:g' \
 		${WRKSRC}/Makefile
 .else
-	@${PERL} -pi.orig -e 's:-O2.*-Wall:${CFLAGS}:g' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's:-O2.*-Wall:${CFLAGS}:g' ${WRKSRC}/Makefile
 .endif
-	@${PERL} -pi.orig -e 's:/usr/X11R6/:${X11BASE}/:g' ${WRKSRC}/Makefile
-	@${PERL} -pi.orig -e 's:^PREFIX.*:PREFIX=${PREFIX}:g' ${WRKSRC}/Makefile
-	@${PERL} -pi.orig -e 's:^install.*:install\: rdesktop:g' ${WRKSRC}/Makefile
-	@${PERL} -pi.orig -e 's:^.*\(INSTALL\) rdp-srvr.*::g' ${WRKSRC}/Makefile
-	@${PERL} -pi.orig -e 's:<endian.h>:<machine/endian.h>:g' ${WRKSRC}/rdesktop.h
+	@${REINPLACE_CMD} -e 's:/usr/X11R6/:${X11BASE}/:g' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's:^PREFIX.*:PREFIX=${PREFIX}:g' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's:^install.*:install\: rdesktop:g' \
+		${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's:^.*\(INSTALL\) rdp-srvr.*::g' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's:<endian.h>:<machine/endian.h>:g' \
+		${WRKSRC}/rdesktop.h

 .include <bsd.port.post.mk>


>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?200206290141.g5T1fR85028002>