ports/167857: [patch] shells/zsh: do not link against librt for clock_gettime(2)
Jan Beich
jbeich at tormail.org
Mon May 14 01:00:15 UTC 2012
>Number: 167857
>Category: ports
>Synopsis: [patch] shells/zsh: do not link against librt for clock_gettime(2)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon May 14 01:00:14 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Jan Beich
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
$ make patch
$ fgrep -r -e aio_ -e mq_ -e timer_ $(make -V WRKSRC)/
Exit 1
>Fix:
--- nort.diff begins here ---
Index: shells/zsh/Makefile
===================================================================
RCS file: /a/.csup/ports/shells/zsh/Makefile,v
retrieving revision 1.137
diff -u -p -r1.137 Makefile
--- shells/zsh/Makefile 11 May 2012 16:29:20 -0000 1.137
+++ shells/zsh/Makefile 14 May 2012 00:41:55 -0000
@@ -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/," \
--- nort.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list