Date: Tue, 5 Nov 2013 18:50:56 GMT From: Lukas Slebodnik <lukas.slebodnik@intrak.sk> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/183693: Fix broken build on FreeBSD 10.0-BETA2 Message-ID: <201311051850.rA5Iou0N046243@oldred.freebsd.org> Resent-Message-ID: <201311051900.rA5J01F9097917@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183693 >Category: ports >Synopsis: Fix broken build on FreeBSD 10.0-BETA2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Nov 05 19:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Lukas Slebodnik >Release: FreeBSD 10.0-BETA2 >Organization: >Environment: FreeBSD freebsd_10 10.0-BETA2 FreeBSD 10.0-BETA2 #0 r257166: Sat Oct 26 19:23:22 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Binary nsupdate(/usr/bin/nsupdate) is not available on FreeBSD 10, therefore binary from another package should be available in configure phase. This binary needn't be available on runtime, because sssd can skip dynamic dns update if nsupdate binary is not available. Log files from failed build. http://beefy1.isc.freebsd.org/bulk/10i386-default/2013-10-31_06h45m44s/logs/sssd-1.9.5.log http://beefy2.isc.freebsd.org/bulk/10amd64-default/2013-10-31_09h08m16s/logs/sssd-1.9.5.log Another fix in attached patch: linker parameter "-L${LOCALBASE}/lib" was moved to proper place from CFLAGS to LDFLAGS >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 332741) +++ Makefile (working copy) @@ -43,8 +43,8 @@ --with-db-path=/var/db/sss --with-pipe-path=/var/run/sss \ --with-pubconf-path=/var/run/sss --with-mcache-path=/var/db/sss_mc \ --with-unicode-lib=libunistring --with-autofs=no -CFLAGS+= -L${LOCALBASE}/lib -fstack-protector-all -Wno-format -LDFLAGS+= -linotify +CFLAGS+= -fstack-protector-all -Wno-format +LDFLAGS+= -L${LOCALBASE}/lib -linotify PLIST_SUB= PYTHON_VER=${PYTHON_VER} #DEBUG_FLAGS= -g MAKE_ENV+= LINGUAS="bg de eu es fr hu id it ja nb nl pl pt ru sv tg tr uk zh_CN zh_TW" @@ -62,6 +62,10 @@ .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 1000000 +BUILD_DEPENDS+= nsupdate:${PORTSDIR}/dns/bind99 +.endif + .if ${OSVERSION} < 800107 IGNORE= is not supported prior to 8.0-RELEASE .endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311051850.rA5Iou0N046243>