From owner-freebsd-ports Mon Mar 25 11:49:11 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA29704 for ports-outgoing; Mon, 25 Mar 1996 11:49:11 -0800 (PST) Received: from mail.tky007.tth.expo96.ad.jp (root@tky007.tth.expo96.ad.jp [133.246.32.58]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id LAA29696 for ; Mon, 25 Mar 1996 11:49:05 -0800 (PST) Received: from tky007.tth.expo96.ad.jp (masafumi@localhost [127.0.0.1]) by mail.tky007.tth.expo96.ad.jp (8.7.4/3.4W4-SMTP) with ESMTP id EAA01150; Tue, 26 Mar 1996 04:50:17 +0900 (JST) Message-Id: <199603251950.EAA01150@mail.tky007.tth.expo96.ad.jp> To: freebsd-ports@freebsd.org Cc: masafumi@pobox.com Subject: what if pkgname and exec name of depends differ? From: Masafumi NAKANE/=?ISO-2022-JP?B?GyRCQ2Y6LDJtSjgbKEI=?= Reply-To: masafumi@pobox.com X-Mailer: Mew version 1.03 on Emacs 19.28.1, Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Tue, 26 Mar 1996 04:50:17 +0900 Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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