From owner-freebsd-ports Sun Feb 2 9:32:45 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFE4737B401 for ; Sun, 2 Feb 2003 09:32:43 -0800 (PST) Received: from red.tallence.de (red.tallence.de [212.77.172.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 252F743E4A for ; Sun, 2 Feb 2003 09:32:37 -0800 (PST) (envelope-from stb@lassitu.de) Received: from lassitu.de (brown.tallence.de [212.77.172.82]) by red.tallence.de (Postfix) with ESMTP id BE8AC33CD9 for ; Sun, 2 Feb 2003 18:32:29 +0100 (CET) Date: Sun, 2 Feb 2003 18:32:59 +0100 Mime-Version: 1.0 (Apple Message framework v551) Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed Subject: CONFIGURE_ARGS does not include default args? From: Stefan Bethke To: freebsd-ports@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <5F679F1E-36D4-11D7-A9F0-000393496BE8@lassitu.de> X-Mailer: Apple Mail (2.551) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm trying to fix some outdated port, and beka aware that it also seems to have an invalid pkg_plist, so I tried to install it into /var/tmp/xxx to check the existing plist. It turns out that the port seems to disregard PREFIX. If I change CONFIGURE_ARGS= --quiet --with-logdir=/var/log to CONFIGURE_ARGS= --quiet --with-logdir=/var/log --prefix=${PREFIX} then I get the proper PREFIX. The Porters Handbook has this to say: > If you want to give some extra arguments to configure (the default > argument list --prefix=${PREFIX} for GNU configure and empty for > non-GNU configure), set those extra arguments in CONFIGURE_ARGS. http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ makefile-build.html This could be understood to mean that CONFIGURE_ARGS are appended to the default list, but it seems the default list gets replaced with what you specify in CONFIGURE_ARGS. A quick survey of other Makefiles shows: 2658 have a CONFIGURE_ARGS entry 1105 set CONFIGURE_ARGS= 1518 add to CONFIGURE_ARGS (+=) 98 set or add --prefix= to CONFIGURE_ARGS In light of this, should I change the Makefile from CONFIGURE_ARGS= --quiet --with-logdir=/var/log to CONFIGURE_ARGS+= --quiet --with-logdir=/var/log or am I missing something? Thanks, Stefan -- Stefan Bethke Fon +49 170 346 0140 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message