Date: Sun, 24 Mar 1996 01:21:15 +0900 From: Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= <masafumi@pobox.com> To: freebsd-questions@freebsd.org Cc: masafumi@pobox.com Subject: about porting (what if pkgname and exec name of depends differ?) Message-ID: <199603231621.BAA14827@mail.tky007.tth.expo96.ad.jp>
next in thread | raw e-mail | index | archive | help
Hi,
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?199603231621.BAA14827>
