From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Sep 26 18:50:17 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96C6F16A421 for ; Mon, 26 Sep 2005 18:50:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F42443D4C for ; Mon, 26 Sep 2005 18:50:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8QIoGAj092533 for ; Mon, 26 Sep 2005 18:50:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8QIoGmX092532; Mon, 26 Sep 2005 18:50:16 GMT (envelope-from gnats) Resent-Date: Mon, 26 Sep 2005 18:50:16 GMT Resent-Message-Id: <200509261850.j8QIoGmX092532@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, Martin Piayda Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 215A616A41F for ; Mon, 26 Sep 2005 18:41:11 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id D98A343D58 for ; Mon, 26 Sep 2005 18:41:10 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j8QIfAhr093444 for ; Mon, 26 Sep 2005 18:41:10 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j8QIfA2l093443; Mon, 26 Sep 2005 18:41:10 GMT (envelope-from nobody) Message-Id: <200509261841.j8QIfA2l093443@www.freebsd.org> Date: Mon, 26 Sep 2005 18:41:10 GMT From: Martin Piayda To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/86609: courier-imap 4.0.6 prefixed installation and configure cleanup X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2005 18:50:17 -0000 >Number: 86609 >Category: ports >Synopsis: courier-imap 4.0.6 prefixed installation and configure cleanup >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Sep 26 18:50:15 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Martin Piayda >Release: FreeBSD 5.4 >Organization: >Environment: FreeBSD themis 5.4-RELEASE-p5 FreeBSD 5.4-RELEASE-p5 >Description: I've updated the current Makefile for prefixed installations and enhanced the configure section to make it more readable >How-To-Repeat: always >Fix: diff -ruN bak/Makefile Makefile --- bak/Makefile Sat Sep 24 14:56:19 2005 +++ Makefile Mon Sep 26 20:24:26 2005 @@ -34,10 +34,13 @@ USE_GMAKE= yes USE_RC_SUBR= yes -CONFIGURE_ENV= CFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ - CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ - CXXFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ - LIBS="${LDFLAGS} -L${LOCALBASE}/lib" +CPPFLAGS+= -I${LOCALBASE}/include -I${PREFIX}/include +LDFLAGS+= -L${LOCALBASE}/lib -L${PREFIX}/lib +CONFIGURE_ENV= REHASH=${SCRIPTDIR}/c_rehash \ + CPPFLAGS='${CPPFLAGS}' \ + CXXFLAGS='${CPPFLAGS}' \ + LDFLAGS='${LDFLAGS}' +MAKE_ENV:= ${CONFIGURE_ENV} # # options available: @@ -71,7 +74,8 @@ --enable-workarounds-for-imap-client-bugs \ --enable-unicode \ --disable-root-check \ - --with-locking-method=fcntl + --with-locking-method=fcntl \ + COURIERAUTHCONFIG=${PREFIX}/bin/courierauthconfig .include >Release-Note: >Audit-Trail: >Unformatted: