pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/mdocml Need to link to realtime library to ob...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0878b2bec30b
branches: trunk
changeset: 350002:0878b2bec30b
user: sevan <sevan%pkgsrc.org@localhost>
date: Wed Jul 20 23:42:12 2016 +0000
description:
Need to link to realtime library to obtain nanosleep(2).
Closes PR pkg/51307 - tested by Hiroshi Hakoyama.
diffstat:
textproc/mdocml/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r d71541ade982 -r 0878b2bec30b textproc/mdocml/Makefile
--- a/textproc/mdocml/Makefile Wed Jul 20 23:16:37 2016 +0000
+++ b/textproc/mdocml/Makefile Wed Jul 20 23:42:12 2016 +0000
@@ -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 @@
${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
Home |
Main Index |
Thread Index |
Old Index