From owner-freebsd-ports Thu Aug 10 1: 0:50 2000 Delivered-To: freebsd-ports@freebsd.org Received: from ms.tokyo.jcom.ne.jp (ms.tokyo.jcom.ne.jp [210.234.123.18]) by hub.freebsd.org (Postfix) with ESMTP id 01DE537BAC4; Thu, 10 Aug 2000 01:00:39 -0700 (PDT) (envelope-from knu@idaemons.org) Received: from daemon.local.idaemons.org (203-165-77-17.sugnm1.kt.home.ne.jp [203.165.77.17]) by ms.tokyo.jcom.ne.jp (8.9.3/3.7W 04/27/00) with ESMTP id RAA24354; Thu, 10 Aug 2000 17:00:36 +0900 (JST) Received: by daemon.local.idaemons.org (8.9.3/3.7W) id RAA87034; Thu, 10 Aug 2000 17:00:04 +0900 (JST) Date: Thu, 10 Aug 2000 17:00:03 +0900 Message-ID: <861yzx7dh8.wl@localhost.local.idaemons.org> From: "Akinori -Aki- MUSHA" To: asami@FreeBSD.org Cc: freebsd-ports@FreeBSD.org Subject: Better support for multi-level PKGNAMEPREFIX User-Agent: Wanderlust/2.3.0 (Roam) EMIKO/1.13.12 (Euglena sociabilis) FLIM/1.13.2 (Kasanui) APEL/10.2 MULE XEmacs/21.1 (patch 11) (Carlsbad Caverns) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 1BEF D9B2 BABD 25D7 659A FD08 89C2 F3BE E981 4E16 MIME-Version: 1.0 (generated by EMIKO 1.13.12 - "Euglena sociabilis") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, First of all, please take a look at one of the current japanese/p5-* ports. You can see there is kind of an ugly workaround like this: .include PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- [...] .include It was me who did this during the series of PKGNAME changes, so now I think I'd like to fix the situation. The idea is very simple; just change the following line in each /Makefile.inc: PKGNAMEPREFIX?= xx- to the following set of lines: .if defined(PKGNAMEPREFIX) PKGNAMEPREFIX:= xx-${PKGNAMEPREFIX} .else PKGNAMEPREFIX= xx- .endif Then such ports as japanese/p5-* could simply define PKGNAMEPREFIX and leave the rest to ../Makefile.inc. I attached a patchset for all {lang-specific}/Makefile.inc and those ports in the lang-specific categories that define PKGNAMEPREFIX. Please review and commit it if it's fine. Thanks, -- / /__ __ / ) ) ) ) / Akinori -Aki- MUSHA aka / (_ / ( (__( @ idaemons.org / FreeBSD.org "We're only at home when we're on the run, on the wing, on the fly" begin 644 PKGNAMEPREFIX-fix.diff.gz M'XL(``E=DCD"`^5:^V_B2!+^V?P5K6RTVA7QBU<2WS(30DB6#0$.F-WH=!(R MT!`'L!G;Y#%9[F^_JK;QBS8#2931Z=`,L=M57S^JOJKJ-G5S1)\T,KPS3.I0 M^4:?TK$QHY)A#C/EMW\RG6J7(*!&Y#MK3F5S^.#("\MV'9G7Y]%#QJ:N;=`' MPYP0&_XXAF425>R\.U.S&0E8TQ&@&?2 MT2\Q@5\SV=B]QA0.7V*-*P"@,X0\[9OD[.K#IXX=: MGM-EJN75F.753!8R:<`1!S M,-]J=^-Q3[N#PJYV][!C=K_7%_J'1WQNIZ]G/1>.P_MBP/MM&H']\UKA9!?[ MI\PFA?O%';A_K^_I`Z"PJP]XV#$?F%HV_>"HS^GR]?;G@&VU?KI\A/N%TUUL MSYW'&RP_M?:T/"CL:GD/.V9Y>^DXQ@>;GM?GZVW/0^,8/RSWMB@$UB]I>647 MZ_.GDF+^7[FG^4%A5_-[V#'S/QC4-?7Y1X?_E&Y?[P0I@!P_.`[\8+M. MQ!4*I5U<(75.*=YPO(,W/!A[>@,H[.H-'C:_%%@4Q3^&UBB83I<`GX@7!!IYOWI*L'A,EI^7!O#D!T6)509I:X!6JEO=+`^6H!&ZA'!TS MOZA6>K6K5J=>ZV*B]=#(@MJS8H;<5+J]6J??K??PZ>%+Y+[?KG4:_6J[TES% MY/K=+^<7]4Y9D"09_NE+]\ZR'=D8R1?R107^-:];5Y7ZAG%A_.!/@%1O]N!_ M#1"F2]MXUN?ZF>^W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