From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 8 18:20:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1C199115 for ; Fri, 8 Mar 2013 18:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id F3A97CDE for ; Fri, 8 Mar 2013 18:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r28IK0iS019199 for ; Fri, 8 Mar 2013 18:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r28IK0RP019198; Fri, 8 Mar 2013 18:20:00 GMT (envelope-from gnats) Resent-Date: Fri, 8 Mar 2013 18:20:00 GMT Resent-Message-Id: <201303081820.r28IK0RP019198@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Daniel Hagerty Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3D0898F4 for ; Fri, 8 Mar 2013 18:12:04 +0000 (UTC) (envelope-from hag@linnaean.org) Received: from perdition.linnaean.org (perdition.linnaean.org [IPv6:2001:470:8917:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 193EAB4E for ; Fri, 8 Mar 2013 18:12:04 +0000 (UTC) Received: by perdition.linnaean.org (Postfix, from userid 31013) id BA5468F2; Fri, 8 Mar 2013 13:11:56 -0500 (EST) Message-Id: <20130308181156.BA5468F2@perdition.linnaean.org> Date: Fri, 8 Mar 2013 13:11:56 -0500 (EST) From: Daniel Hagerty To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/176758: [patch] samba talloc + tdb incorrect w/ non-default LOCALBASE X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Daniel Hagerty List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Mar 2013 18:20:01 -0000 >Number: 176758 >Category: ports >Synopsis: [patch] samba talloc + tdb incorrect w/ non-default LOCALBASE >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 08 18:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Daniel Hagerty >Release: FreeBSD 9.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD perdition.linnaean.org 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243710+9a57fd8: Fri Jan 25 23:38:46 EST 2013 hag@yall.linnaean.org:/sys/amd64/compile/LINNAEAN64 amd64 ports svn r313265 >Description: The samba related ports talloc + tdb don't build correctly if LOCALBASE is set to a non-default value. They unconditionally install to /usr/local, but dependant ports like samba will fail to build due to expecting the include files (and presumably any libraries, if it got that) under LOCALBASE. This is probably due to these ports having a USE_CONFIGURE=yes that is not actually GNU_CONFIGURE=yes . I didn't dig very deeply, I just smashed with the hammer until I got my build. >How-To-Repeat: Set LOCALBASE to a non-default value in make.conf. Build tdb and/or talloc. Build samba. Observe fail. >Fix: commit a3d5cb38c02eee986337bdc23182dd8b46445cdc Author: Daniel Hagerty Date: Sun Feb 24 22:00:39 2013 -0500 Samba related bits don't do LOCALBASE correctly diff --git a/databases/tdb/Makefile b/databases/tdb/Makefile index 1f9ed15..e03b8a7 100644 --- a/databases/tdb/Makefile +++ b/databases/tdb/Makefile @@ -51,6 +51,8 @@ MAKE_ENV+= NOCOLOR=yes CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man +CONFIGURE_ARGS+= --prefix=${LOCALBASE} + .if !defined(DISABLE_MAKE_JOBS) && !defined(MAKE_JOBS_UNSAFE) .if defined(MAKE_JOBS_SAFE) || defined(FORCE_MAKE_JOBS) CONFIGURE_ARGS+= --jobs=${MAKE_JOBS_NUMBER} diff --git a/devel/talloc/Makefile b/devel/talloc/Makefile index 9b5797a..e1a075c 100644 --- a/devel/talloc/Makefile +++ b/devel/talloc/Makefile @@ -45,6 +45,8 @@ MAKE_ENV+= NOCOLOR=yes CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man +CONFIGURE_ARGS+= --prefix=${LOCALBASE} + .if !defined(DISABLE_MAKE_JOBS) && !defined(MAKE_JOBS_UNSAFE) .if defined(MAKE_JOBS_SAFE) || defined(FORCE_MAKE_JOBS) CONFIGURE_ARGS+= --jobs=${MAKE_JOBS_NUMBER} >Release-Note: >Audit-Trail: >Unformatted: