Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2012 11:55:52 +1100
From:      Jan Beich <jbeich@tormail.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/167857: [patch] shells/zsh: do not link against librt for clock_gettime(2)
Message-ID:  <1STjZl-000HP4-T4@internal.tormail.org>
Resent-Message-ID: <201205140100.q4E10FFb072299@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1STjZl-000HP4-T4>