aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-04 09:15:06 +0800
committeredwin <edwin@FreeBSD.org>2002-11-04 09:15:06 +0800
commit19ea1032191b99057af5d542e643f70b68da3ae5 (patch)
treed9dca962673f5bd90689253ac8ccac68bba03136
parent719e648ec3fe8a34e87ad3f43ffe8a399db75431 (diff)
downloadfreebsd-ports-gnome-19ea1032191b99057af5d542e643f70b68da3ae5.tar.gz
freebsd-ports-gnome-19ea1032191b99057af5d542e643f70b68da3ae5.tar.zst
freebsd-ports-gnome-19ea1032191b99057af5d542e643f70b68da3ae5.zip
PERL -> REINPLACE
Noticed by: bento
-rw-r--r--devel/mkcmd/Makefile4
-rw-r--r--games/mythserver/Makefile3
-rw-r--r--lang/dice/Makefile4
-rw-r--r--www/squid/Makefile5
-rw-r--r--www/squid25/Makefile5
-rw-r--r--www/squid26/Makefile5
-rw-r--r--www/squid27/Makefile5
-rw-r--r--www/squid30/Makefile5
-rw-r--r--www/squid31/Makefile5
9 files changed, 26 insertions, 15 deletions
diff --git a/devel/mkcmd/Makefile b/devel/mkcmd/Makefile
index 6b492baaa45e..a410d4ceb35e 100644
--- a/devel/mkcmd/Makefile
+++ b/devel/mkcmd/Makefile
@@ -17,12 +17,14 @@ BUILD_DEPENDS= makeme:${PORTSDIR}/devel/msrc0
MAKE_FLAGS=
MAKEFILE=
+USE_REINPLACE= yes
+
MAN1= mkcmd.1
MAN5= mkcmd.5
post-patch:
.for f in bin/mkcmd/machine.h bin/mkcmd/mkcmd.man lib/mkcmd/mkcmd.man
- @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${f}
+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${f}
.endfor
do-build:
diff --git a/games/mythserver/Makefile b/games/mythserver/Makefile
index 096cdfc9430c..5aabc27bca92 100644
--- a/games/mythserver/Makefile
+++ b/games/mythserver/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= adamw@FreeBSD.org
USE_ZIP= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/metaserver2open/spaghetti
pre-everything::
@@ -27,7 +28,7 @@ pre-everything::
@${ECHO_CMD} "#############################################"
post-patch:
- @${PERL} -pi -e 's@\r@@g' ${WRKSRC}/users_new/main.c
+ @${REINPLACE_CMD} -e 's@\r@@g' ${WRKSRC}/users_new/main.c
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/bin/game_search_server_new ${PREFIX}/bin
diff --git a/lang/dice/Makefile b/lang/dice/Makefile
index afcfdac723ea..e8e79148e5c0 100644
--- a/lang/dice/Makefile
+++ b/lang/dice/Makefile
@@ -15,12 +15,14 @@ EXTRACT_SUFX= .tgz
MAINTAINER= adamw@FreeBSD.org
+USE_REINPLACE= yes
+
post-patch:
@for i in ${WRKSRC}/lib/version.h ${WRKSRC}/include/lib/version.h \
${WRKSRC}/src/dcpp/main.c ${WRKSRC}/src/dcc/defs.h \
${WRKSRC}/src/dlink/main.c; \
do \
- ${PERL} -pi -e 's@/home/dice@${PREFIX}/share/dice@g' $$i; \
+ ${REINPLACE_CMD} -e 's@/home/dice@${PREFIX}/share/dice@g' $$i; \
done
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
diff --git a/www/squid/Makefile b/www/squid/Makefile
index 2b748a05977d..6dbd0a704209 100644
--- a/www/squid/Makefile
+++ b/www/squid/Makefile
@@ -20,13 +20,14 @@ DISTNAME= squid-2.5.STABLE1
EXTRACT_SUFX= .tar.gz
PATCH_SITES= http://www.squid-cache.org/Versions/v2/2.5/bugs/
-PATCHFILES=
+PATCHFILES=
MAINTAINER= adrian@freebsd.org
DIST_SUBDIR= squid2.5
PATCH_DIST_STRIP= -p0
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
# Follow the apache port's lead...
CONFIGURE_ARGS= --bindir=${PREFIX}/sbin --sysconfdir=${PREFIX}/etc/squid \
--datadir=${PREFIX}/etc/squid/ \
@@ -100,7 +101,7 @@ MAKEFILE= Makefile
#CONFIGURE_ARGS+= --enable-heap-replacement
post-extract:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
post-install:
# I don't think many people use the pinger nowadays, and if you
diff --git a/www/squid25/Makefile b/www/squid25/Makefile
index 2b748a05977d..6dbd0a704209 100644
--- a/www/squid25/Makefile
+++ b/www/squid25/Makefile
@@ -20,13 +20,14 @@ DISTNAME= squid-2.5.STABLE1
EXTRACT_SUFX= .tar.gz
PATCH_SITES= http://www.squid-cache.org/Versions/v2/2.5/bugs/
-PATCHFILES=
+PATCHFILES=
MAINTAINER= adrian@freebsd.org
DIST_SUBDIR= squid2.5
PATCH_DIST_STRIP= -p0
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
# Follow the apache port's lead...
CONFIGURE_ARGS= --bindir=${PREFIX}/sbin --sysconfdir=${PREFIX}/etc/squid \
--datadir=${PREFIX}/etc/squid/ \
@@ -100,7 +101,7 @@ MAKEFILE= Makefile
#CONFIGURE_ARGS+= --enable-heap-replacement
post-extract:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
post-install:
# I don't think many people use the pinger nowadays, and if you
diff --git a/www/squid26/Makefile b/www/squid26/Makefile
index 2b748a05977d..6dbd0a704209 100644
--- a/www/squid26/Makefile
+++ b/www/squid26/Makefile
@@ -20,13 +20,14 @@ DISTNAME= squid-2.5.STABLE1
EXTRACT_SUFX= .tar.gz
PATCH_SITES= http://www.squid-cache.org/Versions/v2/2.5/bugs/
-PATCHFILES=
+PATCHFILES=
MAINTAINER= adrian@freebsd.org
DIST_SUBDIR= squid2.5
PATCH_DIST_STRIP= -p0
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
# Follow the apache port's lead...
CONFIGURE_ARGS= --bindir=${PREFIX}/sbin --sysconfdir=${PREFIX}/etc/squid \
--datadir=${PREFIX}/etc/squid/ \
@@ -100,7 +101,7 @@ MAKEFILE= Makefile
#CONFIGURE_ARGS+= --enable-heap-replacement
post-extract:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
post-install:
# I don't think many people use the pinger nowadays, and if you
diff --git a/www/squid27/Makefile b/www/squid27/Makefile
index 2b748a05977d..6dbd0a704209 100644
--- a/www/squid27/Makefile
+++ b/www/squid27/Makefile
@@ -20,13 +20,14 @@ DISTNAME= squid-2.5.STABLE1
EXTRACT_SUFX= .tar.gz
PATCH_SITES= http://www.squid-cache.org/Versions/v2/2.5/bugs/
-PATCHFILES=
+PATCHFILES=
MAINTAINER= adrian@freebsd.org
DIST_SUBDIR= squid2.5
PATCH_DIST_STRIP= -p0
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
# Follow the apache port's lead...
CONFIGURE_ARGS= --bindir=${PREFIX}/sbin --sysconfdir=${PREFIX}/etc/squid \
--datadir=${PREFIX}/etc/squid/ \
@@ -100,7 +101,7 @@ MAKEFILE= Makefile
#CONFIGURE_ARGS+= --enable-heap-replacement
post-extract:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
post-install:
# I don't think many people use the pinger nowadays, and if you
diff --git a/www/squid30/Makefile b/www/squid30/Makefile
index 2b748a05977d..6dbd0a704209 100644
--- a/www/squid30/Makefile
+++ b/www/squid30/Makefile
@@ -20,13 +20,14 @@ DISTNAME= squid-2.5.STABLE1
EXTRACT_SUFX= .tar.gz
PATCH_SITES= http://www.squid-cache.org/Versions/v2/2.5/bugs/
-PATCHFILES=
+PATCHFILES=
MAINTAINER= adrian@freebsd.org
DIST_SUBDIR= squid2.5
PATCH_DIST_STRIP= -p0
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
# Follow the apache port's lead...
CONFIGURE_ARGS= --bindir=${PREFIX}/sbin --sysconfdir=${PREFIX}/etc/squid \
--datadir=${PREFIX}/etc/squid/ \
@@ -100,7 +101,7 @@ MAKEFILE= Makefile
#CONFIGURE_ARGS+= --enable-heap-replacement
post-extract:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
post-install:
# I don't think many people use the pinger nowadays, and if you
diff --git a/www/squid31/Makefile b/www/squid31/Makefile
index 2b748a05977d..6dbd0a704209 100644
--- a/www/squid31/Makefile
+++ b/www/squid31/Makefile
@@ -20,13 +20,14 @@ DISTNAME= squid-2.5.STABLE1
EXTRACT_SUFX= .tar.gz
PATCH_SITES= http://www.squid-cache.org/Versions/v2/2.5/bugs/
-PATCHFILES=
+PATCHFILES=
MAINTAINER= adrian@freebsd.org
DIST_SUBDIR= squid2.5
PATCH_DIST_STRIP= -p0
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
# Follow the apache port's lead...
CONFIGURE_ARGS= --bindir=${PREFIX}/sbin --sysconfdir=${PREFIX}/etc/squid \
--datadir=${PREFIX}/etc/squid/ \
@@ -100,7 +101,7 @@ MAKEFILE= Makefile
#CONFIGURE_ARGS+= --enable-heap-replacement
post-extract:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
post-install:
# I don't think many people use the pinger nowadays, and if you