aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
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-im
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-im')
-rw-r--r--net-im/konverse/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-im/konverse/Makefile b/net-im/konverse/Makefile
index 1b42f0d44ceb..36d6283801b3 100644
--- a/net-im/konverse/Makefile
+++ b/net-im/konverse/Makefile
@@ -25,10 +25,10 @@ CONFIGURE_ARGS+=--with-extra-includes=${LOCALBASE}/include \
--with-qt-libraries=${QT_PREFIX}/lib
pre-patch:
- ${REINPLACE_CMD} -e 's/-lqt/-lqt-mt '${PTHREAD_LIBS}'/' \
+ ${REINPLACE_CMD} -e 's|-lqt|-lqt-mt ${PTHREAD_LIBS}|' \
-e 's/libqt\.\*/libqt-mt.*/' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's/\(LDADD.*\)-ldl/\1/' \
- -e 's/-lqt/'${PTHREAD_LIBS}'/' ${WRKSRC}/konverse/Makefile.in
+ -e 's|-lqt|${PTHREAD_LIBS}|' ${WRKSRC}/konverse/Makefile.in
${REINPLACE_CMD} -e 's/\(QDateTime.*\)timezone/\1local-\>tm_gmtoff/g' \
${WRKSRC}/konverse/jabbercore.cpp
.for f in konverse/rostertree.h konverse/dlgchat.h