Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2014 13:43:22 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        FreeBSD stable <freebsd-stable@freebsd.org>
Subject:   stable/10 broken by r286896
Message-ID:  <alpine.BSF.2.11.1407201339300.93123@mail.fig.ol.no>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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.      |
+-------------------------------+------------------------------------+
[-- Attachment #2 --]
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>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1407201339300.93123>