diff options
author | sevan <sevan> | 2016-07-20 23:42:12 +0000 |
---|---|---|
committer | sevan <sevan> | 2016-07-20 23:42:12 +0000 |
commit | f54d435a019a8a823a3271851d264b56363dcc16 (patch) | |
tree | bd1bd5034fb15a301cf9ce1ad5d09602990b7ccd /textproc/mdocml | |
parent | fc999bc8f5ac932f29f51ec718789d1c9599b1f0 (diff) | |
download | pkgsrc-f54d435a019a8a823a3271851d264b56363dcc16.tar.gz |
Need to link to realtime library to obtain nanosleep(2).
Closes PR pkg/51307 - tested by Hiroshi Hakoyama.
Diffstat (limited to 'textproc/mdocml')
-rw-r--r-- | textproc/mdocml/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/mdocml/Makefile b/textproc/mdocml/Makefile index f805315ef95..dd7f1ea3e46 100644 --- a/textproc/mdocml/Makefile +++ b/textproc/mdocml/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.56 2016/07/15 11:18:12 jperkin Exp $ +# $NetBSD: Makefile,v 1.57 2016/07/20 23:42:12 sevan Exp $ DISTNAME= mdocml-1.13.4 CATEGORIES= textproc devel @@ -33,6 +33,10 @@ post-extract: ${ECHO} INSTALL_MAN=\"${INSTALL_MAN:Q}\" >> ${WRKSRC}/configure.local ${ECHO} INSTALL_DATA=\"${INSTALL_DATA:Q}\" >> ${WRKSRC}/configure.local ${ECHO} MANM_ROFF="mandoc-roff" >> ${WRKSRC}/configure.local +# Need -lrt for nanosleep(2) on Solaris. +.if ${OPSYS} == "SunOS" + ${ECHO} LDADD=\"-lrt\" >> ${WRKSRC}/configure.local +.endif # Mac OS X and Solaris 10 and newer do not support static binaries. .if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS" ${ECHO} STATIC= >> ${WRKSRC}/configure.local |