From owner-freebsd-ports Wed Sep 16 02:24:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA08764 for freebsd-ports-outgoing; Wed, 16 Sep 1998 02:24:15 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA08662; Wed, 16 Sep 1998 02:24:04 -0700 (PDT) (envelope-from Studded@dal.net) Received: from dal.net (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id CAA21676; Wed, 16 Sep 1998 02:23:42 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <35FF839D.BDD79F42@dal.net> Date: Wed, 16 Sep 1998 02:23:41 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.06 [en] (X11; I; FreeBSD 2.2.7-STABLE-0914 i386) MIME-Version: 1.0 To: Satoshi Asami CC: FreeBSD-Ports@FreeBSD.ORG Subject: Re: cvs commit: ports/net/sirc References: <199809160659.XAA03205@silvia.hip.berkeley.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Satoshi Asami wrote: > * The problem with this is that any port on a -Stable system that makes > * use of the PERL5 variable (like you tried to do with mine) will have to > * be reinstalled every time the perl version is bumped. > > You're right. I shouldn't have changed yours, since yours just uses > perl as an interpreter and doesn't install anything to > version-specific directories. No problem. I was kind of waiting for the dust to settle on how to handle perl5 before I submitted a fix so you would only have to change it once, but now's as good a time as any. :) > * I'd like to have a > * variable similar to what I used in my port that points to the 'perl5' > * link in either /usr/bin or /usr/local/bin (Ok, ${PREFIX}/bin). Something > * like this would work, other solutions are possible of course. > > Hmm. I don't think it is necessary to have it in bsd.port.mk given > the nature of the problem (it doesn't apply to most ports). If > someone can prove me wrong, I can put it in, of course. Ok, no problem. I am working on providing solutions along with problem more often. Whether my solutions (or my problems :) make sense to anyone else is another matter entirely. *Grin* > * Meanwhile, I'd appreciate it if someone would apply the following patch > * to my port. It passes portlint, etc. > > * -post-extract: <==== > * +pre-extract: <==== > > * +post-extract: <==== > * +.if exists(/usr/bin/perl5) > * +SHORT_PERL5=/usr/bin/perl5 > * +.else > * +SHORT_PERL5=${PREFIX}/bin/perl5 > * +.endif > * + > > You don't need to do this (the lines marked with "<===="). Make > variable assignments are not part of the target. Ok, thanks for the tip. I tried it a few different ways, but I think it was the spacing that gummed me up when I tried it the first time. Make still gives me a headache, but it's less severe than it used to be. :) > I changed that part and committed it. Thanks! Thank you for putting in the fix. Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message