Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2012 11:29:16 -0400
From:      Kris Moore <kris@pcbsd.org>
To:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:        Kris Moore <kmoore@FreeBSD.org>
Subject:   Re: ports/168203: ports: net/samba36 fails to compile with ADS enabled
Message-ID:  <4FBD024C.6020908@pcbsd.org>
In-Reply-To: <201205211640.q4LGe3uD071140@freefall.freebsd.org>
References:  <201205211640.q4LGe3uD071140@freefall.freebsd.org>

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

Update on this,

We found that its an issue when samba-libsmbclient is getting pulled
into the build first, since it builds off of the sama34 port. The
samba36 port is failing due to it sucking up the older system include in
/usr/local/include, instead of the one included in the port.

delphij@ came up with the following fix which corrects the issue:

[delphij@planet] /usr/ports/net/samba36> cvs -qR diff
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/samba36/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile    30 Apr 2012 18:48:09 -0000    1.7
+++ Makefile    21 May 2012 19:03:18 -0000
@@ -73,6 +73,7 @@ CONFIGURE_ARGS+=    --exec-prefix="${PREFIX
             --with-privatedir="${SAMBA_PRIVATEDIR}" \
             --with-logfilebase="${SAMBA_LOGDIR}"
 
+CFLAGS+=        -I${WRKDIR}/${DISTNAME}/source3/include
 CPPFLAGS+=        -I${LOCALBASE}/include
 LDFLAGS+=        -L${LOCALBASE}/lib



On 05/21/2012 12:40, FreeBSD-gnats-submit@FreeBSD.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `ports/168203'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs. 
>
> You can access the state of your problem report at any time
> via this link:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=168203
>
>> Category:       ports
>> Responsible:    freebsd-ports-bugs
>> Synopsis:       ports: net/samba36 fails to compile with ADS enabled
>> Arrival-Date:   Mon May 21 16:40:03 UTC 2012



-- 
Kris Moore
PC-BSD Software
iXsystems




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FBD024C.6020908>