From owner-freebsd-ports@FreeBSD.ORG Fri Jul 14 15:47:47 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BECD916A4DA for ; Fri, 14 Jul 2006 15:47:47 +0000 (UTC) (envelope-from artifact.one@googlemail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2282543D46 for ; Fri, 14 Jul 2006 15:47:46 +0000 (GMT) (envelope-from artifact.one@googlemail.com) Received: by ug-out-1314.google.com with SMTP id a2so681643ugf for ; Fri, 14 Jul 2006 08:47:45 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=BiIDyoatzElb1z6i3h1MSs/v2ILT2XwhsDvt3CY1+b2zdyK4SFstyKdxdjoZUOg3HcA0wB3eBN7XC4//Dsx+5fYkYv4OZIJMBineFutl/LTgq6XCf2QQ/wMsK1rvhY6THVKHLKFuVwJrabeMHOB2JHt/9nyASKqPDKQAk+UZQQQ= Received: by 10.78.138.14 with SMTP id l14mr1774797hud; Fri, 14 Jul 2006 08:47:45 -0700 (PDT) Received: by 10.78.43.9 with HTTP; Fri, 14 Jul 2006 08:47:45 -0700 (PDT) Message-ID: <8e96a0b90607140847k5509ac33hf729f4617f4eb775@mail.gmail.com> Date: Fri, 14 Jul 2006 16:47:45 +0100 From: "mal content" To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Problems creating port, pkg_info? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 15:47:47 -0000 I'm working on porting libdssialsacompat to FreeBSD so that the dssi plugin distribution might compile (this should open up the possibility of quite a lot more audio software being ported to FreeBSD) but I'm having trouble. I've never created a port before, so bare with me... --Makefile-- # New ports collection makefile for: libdssialsacompat # Date created: 14 July 2006 # Whom: # # $FreeBSD$ # PORTNAME= libdssialsacompat PORTVERSION= 1.0.8a CATEGORIES= audio MASTER_SITES= http://home.jps.net/~musound/ MAINTAINER= COMMENT= Alsa compatibility library to build DSSI .include -- (Whom and MAINTAINER left blank for now as I'm not sure what'll go here yet). --pkg-plist-- @dirrm include/dssi @dirrm include/dssi/alsa include/dssi/alsa/asoundef.h include/dssi/alsa/asoundlib.h include/dssi/alsa/seq.h include/dssi/alsa/seq_event.h include/dssi/alsa/seq_midi_event.h include/dssi/alsa/sound/asequencer.h lib/libdssialsacompat.so.0 lib/libdssialsacompat.so.0 lib/libdssialsacompat.a lib/libdssialsacompat.so lib/libdssialsacompat.la -- --pkg-desc-- libdssialsacompat is simply an extraction from and repackaging of the code from alsa-lib 1.0.8, necessary to support DSSI on non-ALSA systems. http://home.jps.net/~musound/ More information on DSSI can be found at: http://dssi.sourceforge.net/ -- I've set up a directory to put the port together in and: $ export DISTDIR="/home/mc/src/libdssialsacompat_port/tempdist" Now: $ make makesum $ make ===> Extracting for libdssialsacompat-1.0.8a => MD5 Checksum OK for libdssialsacompat-1.0.8a.tar.gz. => SHA256 Checksum OK for libdssialsacompat-1.0.8a.tar.gz. ===> libdssialsacompat-1.0.8a depends on file: /usr/local/sbin/pkg_info - not found ===> Verifying install for /usr/local/sbin/pkg_info in /usr/ports/sysutils/pkg_install ===> Extracting for pkg_install-20060113 => MD5 Checksum OK for pkg_install-20060113.tar.gz. => SHA256 Checksum OK for pkg_install-20060113.tar.gz. mkdir: /usr/ports/sysutils/pkg_install/work: Permission denied *** Error code 1 Stop in /usr/ports/sysutils/pkg_install. *** Error code 1 Stop in /usr/home/markzero/src/libdssialsacompat_port. On my system, pkg_info is in /usr/sbin. Why is the ports system looking in /usr/local/sbin? Of course, this results in a permission error as I'm working as a regular user. MC