From owner-freebsd-questions Sat Mar 23 19:42:20 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA23478 for questions-outgoing; Sat, 23 Mar 1996 19:42:20 -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 TAA23469 for ; Sat, 23 Mar 1996 19:42:17 -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 BAA14827; Sun, 24 Mar 1996 01:21:17 +0900 (JST) Message-Id: <199603231621.BAA14827@mail.tky007.tth.expo96.ad.jp> To: freebsd-questions@freebsd.org Cc: masafumi@pobox.com Subject: about porting (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: Sun, 24 Mar 1996 01:21:15 +0900 Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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