pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/mdocml



Module Name:    pkgsrc
Committed By:   sevan
Date:           Wed Jul 20 23:42:13 UTC 2016

Modified Files:
        pkgsrc/textproc/mdocml: Makefile

Log Message:
Need to link to realtime library to obtain nanosleep(2).
Closes PR pkg/51307 - tested by Hiroshi Hakoyama.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 pkgsrc/textproc/mdocml/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/mdocml/Makefile
diff -u pkgsrc/textproc/mdocml/Makefile:1.56 pkgsrc/textproc/mdocml/Makefile:1.57
--- pkgsrc/textproc/mdocml/Makefile:1.56        Fri Jul 15 11:18:12 2016
+++ pkgsrc/textproc/mdocml/Makefile     Wed Jul 20 23:42:12 2016
@@ -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



Home | Main Index | Thread Index | Old Index