r268896 breaks stable/10.
libucl depends on remainder() and fabs(), and needs libm.so.
The attached patch add libm to usr.sbin/pkg as a temporary measure.
Index: usr.sbin/pkg/Makefile
==================================================================---
usr.sbin/pkg/Makefile (revision 268917)
+++ usr.sbin/pkg/Makefile (working copy)
@@ -7,8 +7,8 @@
CFLAGS+=-I${.CURDIR}/../../contrib/libucl/include
.PATH: ${.CURDIR}/../../contrib/libucl/include
DPADD= ${LIBARCHIVE} ${LIBELF} ${LIBFETCH} ${LIBUCL} ${LIBSBUF} ${LIBSSL} \
- ${LIBCRYPTO}
-LDADD= -larchive -lelf -lfetch -lucl -lsbuf -lssl -lcrypto
+ ${LIBCRYPTO} ${LIBM}
+LDADD= -larchive -lelf -lfetch -lucl -lsbuf -lssl -lcrypto -lm
USEPRIVATELIB= ucl
.include <bsd.prog.mk>
--
+-------------------------------+------------------------------------+
| Vennlig hilsen, | Best regards, |
| Trond Endrest?l, | Trond Endrest?l, |
| IT-ansvarlig, | System administrator, |
| Fagskolen Innlandet, | Gj?vik Technical College, Norway, |
| tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, |
| sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. |
+-------------------------------+------------------------------------+
-------------- next part --------------
Index: usr.sbin/pkg/Makefile
==================================================================---
usr.sbin/pkg/Makefile (revision 268917)
+++ usr.sbin/pkg/Makefile (working copy)
@@ -7,8 +7,8 @@
CFLAGS+=-I${.CURDIR}/../../contrib/libucl/include
.PATH: ${.CURDIR}/../../contrib/libucl/include
DPADD= ${LIBARCHIVE} ${LIBELF} ${LIBFETCH} ${LIBUCL} ${LIBSBUF} ${LIBSSL} \
- ${LIBCRYPTO}
-LDADD= -larchive -lelf -lfetch -lucl -lsbuf -lssl -lcrypto
+ ${LIBCRYPTO} ${LIBM}
+LDADD= -larchive -lelf -lfetch -lucl -lsbuf -lssl -lcrypto -lm
USEPRIVATELIB= ucl
.include <bsd.prog.mk>