stable/10 broken by r286896

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Sun Jul 20 11:43:30 UTC 2014


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>


More information about the freebsd-stable mailing list