Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2000 00:37:33 +0900
From:      "R. Imura" <imura@af.airnet.ne.jp>
To:        rkw@dataplex.net
Cc:        alex@big.endian.de, ports@FreeBSD.ORG
Subject:   Re: proposal: PRENAME variable
Message-ID:  <20000410003733V.imura@cs.titech.ac.jp>
In-Reply-To: <00040907143101.05113@nomad.dataplex.net>
References:  <200004090812.BAA04016@silvia.hip.berkeley.edu> <20000409115602.A1056@cichlids.cichlids.com> <00040907143101.05113@nomad.dataplex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> > Why "ja-"?
> >
> > Aren't all prefixes [a-z]+- anyway?
> > So we could set PKGNAMEPREFIX to "ja", and then not
> > $PKGNAMEPREFIX$PORTNAME but $PKGNAMEPREFIX-$PORTNAME.
> 
> No because the "default" would become -$PORTNAME
> you don't want the leading "-"

No, it depends.

If it is set like (as Asami-san showed)

 PKGNAME=${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}

PKGNAMEPREFIX should include '-', but this definition is from
Michael's PKGNAMEPREFIX="XX-" suggestion.

If you don't like including '-' in PKGNAMEPREFIX, bsd.port.mk would be like

 .if defined(PKGNAMEPREFIX)
 PKGNAME=${PKGNAMEPREFIX}-${PORTNAME}-${PORTVERSION}
 .else
 PKGNAME=${PORTNAME}-${PORTVERSION}
 .endif

I think both ways are good, and an issue how we define PKGNAMEPREFIX is
not the main theme of this thread.

I agree to set PKGNAMEPREFIX.

-- R. Imura
// my private mail address has changed.
// imura@cs.titech.ac.jp ====> imura@af.airnet.ne.jp /(-.-)y-~~


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000410003733V.imura>