aboutsummaryrefslogtreecommitdiffstats
path: root/net/libosip
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 /net/libosip
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 '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 3d5804791d36..0bb49f816236 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>