summaryrefslogtreecommitdiffstats
path: root/net/libosip
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-10-10 12:59:36 +0000
committerknu <knu@FreeBSD.org>2002-10-10 12:59:36 +0000
commitaaeb4b1425bfe845ae22767084c03c14edda9e76 (patch)
tree5488959ef6189820e93ea19b660003c4298e2d8a /net/libosip
parentff7ff3869c89ada09dd098161eecb50d2acda462 (diff)
downloadFreeBSD-ports-aaeb4b1425bfe845ae22767084c03c14edda9e76.zip
FreeBSD-ports-aaeb4b1425bfe845ae22767084c03c14edda9e76.tar.gz
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 'net/libosip')
-rw-r--r--net/libosip/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/libosip/Makefile b/net/libosip/Makefile
index 3d58047..0bb49f8 100644
--- a/net/libosip/Makefile
+++ b/net/libosip/Makefile
@@ -20,6 +20,6 @@ INSTALLS_SHLIB= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
post-patch:
- @${REINPLACE_CMD} -e "s/-lpthread/${PTHREAD_LIBS}/g" ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
.include <bsd.port.mk>
OpenPOWER on IntegriCloud