aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/axel/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-10-10 20:59:36 +0800
committerknu <knu@FreeBSD.org>2002-10-10 20:59:36 +0800
commitaaeb4b1425bfe845ae22767084c03c14edda9e76 (patch)
tree5488959ef6189820e93ea19b660003c4298e2d8a /ftp/axel/Makefile
parentff7ff3869c89ada09dd098161eecb50d2acda462 (diff)
downloadfreebsd-ports-gnome-aaeb4b1425bfe845ae22767084c03c14edda9e76.tar.gz
freebsd-ports-gnome-aaeb4b1425bfe845ae22767084c03c14edda9e76.tar.zst
freebsd-ports-gnome-aaeb4b1425bfe845ae22767084c03c14edda9e76.zip
CC, CXX, CFLAGS, PTHREAD_CFLAGS and PTHREAD_LIBS may contain `/' in
them when using a non-default compiler/linker, so do not use `/' as delimiter for s///. (I picked `|' instead)
Diffstat (limited to 'ftp/axel/Makefile')
-rw-r--r--ftp/axel/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/ftp/axel/Makefile b/ftp/axel/Makefile
index ad274b2bb091..af3c6a93f3d1 100644
--- a/ftp/axel/Makefile
+++ b/ftp/axel/Makefile
@@ -24,7 +24,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${PREFIX}/man --i18n=1
MAN1= axel.1
post-configure:
- @${REINPLACE_CMD} -e 's,-O3,${CFLAGS},; s/gcc/${CC}/; \
- s/-pthread/${PTHREAD_LIBS}/' ${WRKSRC}/Makefile.settings
+ @${REINPLACE_CMD} -e 's,-O3,${CFLAGS},; s|gcc|${CC}|; \
+ s|-pthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.settings
.include <bsd.port.mk>