Date: Tue, 26 Mar 1996 04:50:17 +0900 From: Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= <masafumi@pobox.com> To: freebsd-ports@freebsd.org Cc: masafumi@pobox.com Subject: what if pkgname and exec name of depends differ? Message-ID: <199603251950.EAA01150@mail.tky007.tth.expo96.ad.jp>
next in thread | raw e-mail | index | archive | help
Hi, I've sent the following message to freebsd-questions mailing-list and haven't got answer. And I figured this list might be better place to ask this. Sorry if any of you have seen this. I'm now working on porting some software and I've run into a problem. Ok, the situation is this: This software I'm porting (let's call this `foo-1.0') needs perl version 5.0 or higher. So I put the following in foo's Makefile. RUN_DEPENDS= perl5.002:${PORTSDIR}/lang/perl5 BUILD_DEPENDS= perl5.002:${PORTSDIR}/lang/perl5 Configuring and Building processes go well with this setting. However, when I run pkg_add or pkg_delete, these programs try to write dependency info into /var/db/pkg/perl5.002, where it actually should be /var/db/pkg/perl-5.002. So, in short, my question is how do you write foo's Makefile if it depends on another software whose package name and executable's name differ? Or is it possible in the first place? Any suggestion is appreciated. ----------------------------------------------------------------------- Masafumi NAKANE, Keio Univ., Dept. of Environmental Information E-Mail : t94303mn@sfc.keio.ac.jp / masafumi@pobox.com [URL] : http://www.sfc.keio.ac.jp/~t94303mn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603251950.EAA01150>