From owner-freebsd-ports Sun Mar 17 14:29:54 2002 Delivered-To: freebsd-ports@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 8848437B400; Sun, 17 Mar 2002 14:29:47 -0800 (PST) Received: from 12-234-22-238.client.attbi.com ([12.234.22.238]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020317222946.PGIC2626.rwcrmhc51.attbi.com@12-234-22-238.client.attbi.com>; Sun, 17 Mar 2002 22:29:46 +0000 Received: from master.gorean.org (master.gorean.org [10.0.0.2]) by 12-234-22-238.client.attbi.com (8.11.6/8.11.6) with ESMTP id g2HMTjh55594; Sun, 17 Mar 2002 14:29:45 -0800 (PST) (envelope-from DougB@FreeBSD.org) Received: from master.gorean.org (localhost [127.0.0.1]) by master.gorean.org (8.12.2/8.12.2) with ESMTP id g2HMTh3s006279; Sun, 17 Mar 2002 14:29:43 -0800 (PST) (envelope-from DougB@FreeBSD.org) Received: from localhost (doug@localhost) by master.gorean.org (8.12.2/8.12.2/Submit) with ESMTP id g2HMThFm006276; Sun, 17 Mar 2002 14:29:43 -0800 (PST) X-Authentication-Warning: master.gorean.org: doug owned process doing -bs Date: Sun, 17 Mar 2002 14:29:43 -0800 (PST) From: Doug Barton X-X-Sender: doug@master.gorean.org To: ports@FreeBSD.org Cc: portmgr@FreeBSD.org Subject: Problems with PREFIX=/usr Message-ID: <20020317141736.F3758-200000@master.gorean.org> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-499496137-1016404183=:3758" 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 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-499496137-1016404183=:3758 Content-Type: TEXT/PLAIN; charset=US-ASCII Howdy, I'm working on some BIND port stuff to replace the system version, instead of installing in /usr/local by setting PREFIX=/usr in my Makefile. I've found that a number of things break if I do that.... specifically bsd.port.mk makes some bad assumptions about all PREFIX's looking the same in terms of which mtree file it picks, and what MANPREFIX should look like. While the latter is easy to fix in the Makefile, the former is not. The attached patch corrects both problems. Now that we have packages working again, could portmgr please take on the task of testing this patch? I've tested it in my environment already. One additional possibility that I didn't include would be to change 'MTREE_FILE=' to 'MTREE_FILE?=' throughout.... that would give port authors even more flexibility. Thanks, Doug -- "We have known freedom's price. We have shown freedom's power. And in this great conflict, ... we will see freedom's victory." - George W. Bush, President of the United States State of the Union, January 28, 2002 Do YOU Yahoo!? --0-499496137-1016404183=:3758 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="bsd.port.mk.diff" Content-Transfer-Encoding: BASE64 Content-ID: <20020317142943.K3758@master.gorean.org> Content-Description: Content-Disposition: attachment; filename="bsd.port.mk.diff" SW5kZXg6IGJzZC5wb3J0Lm1rDQo9PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpS Q1MgZmlsZTogL2hvbWUvbmN2cy9wb3J0cy9Nay9ic2QucG9ydC5tayx2DQpy ZXRyaWV2aW5nIHJldmlzaW9uIDEuNDAyDQpkaWZmIC11IC1yMS40MDIgYnNk LnBvcnQubWsNCi0tLSBic2QucG9ydC5tawkxNiBNYXIgMjAwMiAyMzozNzow MiAtMDAwMAkxLjQwMg0KKysrIGJzZC5wb3J0Lm1rCTE3IE1hciAyMDAyIDIy OjIzOjQ5IC0wMDAwDQpAQCAtMTE1Niw5ICsxMTU2LDEzIEBADQogTVRSRUVf RklMRT0JL2V0Yy9tdHJlZS9CU0QueDExLTQuZGlzdA0KIC5lbmRpZg0KIC5l bHNlDQorLmlmICR7UFJFRklYfSA9PSAvdXNyDQorTVRSRUVfRklMRT0JL2V0 Yy9tdHJlZS9CU0QudXNyLmRpc3QNCisuZWxzZQ0KIE1UUkVFX0ZJTEU9CS9l dGMvbXRyZWUvQlNELmxvY2FsLmRpc3QNCiAuZW5kaWYNCiAuZW5kaWYNCisu ZW5kaWYNCiBNVFJFRV9DTUQ/PQkvdXNyL3NiaW4vbXRyZWUNCiBNVFJFRV9B UkdTPz0JLVUgJHtNVFJFRV9GT0xMT1dTX1NZTUxJTktTfSAtZiAke01UUkVF X0ZJTEV9IC1kIC1lIC1wDQogDQpAQCAtMTY1OCw3ICsxNjYyLDExIEBADQog U0NSSVBUU19FTlYrPQlCQVRDSD15ZXMNCiAuZW5kaWYNCiANCisuaWYgJHtQ UkVGSVh9ID09IC91c3INCitNQU5QUkVGSVg/PQkvdXNyL3NoYXJlDQorLmVs c2UNCiBNQU5QUkVGSVg/PQkke1BSRUZJWH0NCisuZW5kaWYNCiANCiAuZm9y IHNlY3QgaW4gMSAyIDMgNCA1IDYgNyA4IDkNCiBNQU4ke3NlY3R9UFJFRklY Pz0JJHtNQU5QUkVGSVh9DQo= --0-499496137-1016404183=:3758-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message