From owner-freebsd-ports@FreeBSD.ORG Thu Aug 9 12:20:00 2007 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CD5C16A46D for ; Thu, 9 Aug 2007 12:20:00 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.185]) by mx1.freebsd.org (Postfix) with ESMTP id EB47C13C478 for ; Thu, 9 Aug 2007 12:19:59 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so472227mue for ; Thu, 09 Aug 2007 05:19:58 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dvGkKYZnI6OP4+llaF9aJhAjpxEaAjx26pV8a1EYoOBB7yyaWpLrcLy6jszYu92BFegJEyByq4Th1J/iyym1x/C68L35qRfLE278G3oNgbcasWdFX0GCwhxI+DAWy1epwXmilQKt7byX/TRK0JdoIaKY6wezrZGZKrqWM7/Jo88= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TzGBrG1kd+GVVA0mPT2gEJFQX1hUX+Rzfs8ICvjWHVgSHhskGc+M7PLMzW2NZc0APG4VgcXBSy7ifd2zzKkYIVW1+MiooJEuMB2n+MuIyC70RDHCIIlz/XfBJOH8xxQcKTZnyFCudcAnerWOWLo/xQV4qhOC9GfmnOm3dTu75jc= Received: by 10.86.100.7 with SMTP id x7mr1447871fgb.1186661998719; Thu, 09 Aug 2007 05:19:58 -0700 (PDT) Received: by 10.86.59.6 with HTTP; Thu, 9 Aug 2007 05:19:58 -0700 (PDT) Message-ID: <790a9fff0708090519x7ad0795eme128b4c265e9a7a1@mail.gmail.com> Date: Thu, 9 Aug 2007 07:19:58 -0500 From: "Scot Hetzel" To: "Alexey Rubtsov" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: ports@freebsd.org, girgen@freebsd.org, perky@freebsd.org Subject: Re: packaging mod_python X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2007 12:20:00 -0000 On 8/9/07, Alexey Rubtsov wrote: > I try to install mod_pyhon3 from ports and was some saddened. > The port was installed correctly but name for package is "mod_python". > It makes the problem if i try to create packages "mod_python" for > different apache versions(for example apache20 and apache22). This > packages was created with the same name. > So impossible to create local repository of packages with all packages > what i need. > > > Decide: > Add PKGNAMESUFFX into Makefile of port like this for example: > > .if (${APACHE_PORT} == "www/apache22") > PKGNAMESUFFIX= -ap22 > .elif (${APACHE_PORT} == "www/apache20") > PKGNAMESUFFIX= -ap20 > .endif > > This problem exists in mod_jk2 and mod_perl. > Possibly somethere else... > The best place to put this would be in Mk/bsd.apache.mk, it would then get applied to all the mod_* ports. Instead of using PKGNAMESUFFIX, it should be changed to PKGNAMEPREFIX, as we currently have a preference for this (i.e py-24-*, py25-*, qt3-*, qt4-*, p5-*, linux-*). Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.