aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-05-19 07:50:52 +0800
committerbapt <bapt@FreeBSD.org>2012-05-19 07:50:52 +0800
commit97cce9840de53b1825dfb023464ff176d1e8bce3 (patch)
tree4e2a98661fd0db1c1687a0455c2067814eeabe0e
parent44011afa94d38be475d1d23c4a8d35d36afe4a92 (diff)
downloadfreebsd-ports-gnome-97cce9840de53b1825dfb023464ff176d1e8bce3.tar.gz
freebsd-ports-gnome-97cce9840de53b1825dfb023464ff176d1e8bce3.tar.zst
freebsd-ports-gnome-97cce9840de53b1825dfb023464ff176d1e8bce3.zip
do not link against librt for clock_gettime(2)
PR: ports/167857 Submitted by: Jan Beich <jbeich@tormail.org>
-rw-r--r--shells/zsh/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index c9ae637a72ad..c1d7bf9ee456 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -7,7 +7,7 @@
PORTNAME= zsh
PORTVERSION= 4.3.17
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= shells
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-dev/${PORTVERSION} \
SF/${PORTNAME}/${PORTNAME}-doc-dev/${PORTVERSION}:doc
@@ -115,6 +115,7 @@ CONFIGURE_ARGS+= --disable-multibyte
.endif
post-patch:
+ @${REINPLACE_CMD} -e '/LIBS/s/-lrt//' ${WRKSRC}/configure
@${SED} -i "" -e "s,link=dynamic,link=either," \
${WRKSRC}/Src/Modules/*.mdd
@${SED} -i "" -e "s,/etc/,${LOCALBASE}/etc/," \