hi Brian, if you'r problem is with: 

# make package
`/usr/ports/archivers/daa2iso/w-daa2iso-0.1.5a/fake-amd64/.fake_done' is
up to date.
===>  Building package for daa2iso-0.1.5a
Create /usr/ports/packages/amd64/all/daa2iso-0.1.5a.tgz
Link to /usr/ports/packages/amd64/ftp/daa2iso-0.1.5a.tgz
Link to /usr/ports/packages/amd64/cdrom/daa2iso-0.1.5a.tgz
# pkg_add daa2iso
Can't resolve daa2iso

first of all: 
export PKG_PATH=/usr/ports/packages/amd64/all/
then:
pkg_add daa2iso


On Tue, Sep 09, 2008 at 11:12:36PM -0700, Brian wrote:
> I am working on another port, and I'm having problems with pkg_add.  I'm not 
> sure why I cannot resolve the package.  I still need to patch (warnings 
> below) this port, but it's coming along pretty fast, and I think, more master 
> sites are available.  And I'm not sure why my depends are coming up twice. 
> 
> I'm still waiting on the static file for the other port.
> 
> Here's the information:
> 
> # make clean configure
> ===>  Cleaning for daa2iso-0.1.5a
> ===>  daa2iso-0.1.5a depends on: unzip-* - found
> ===>  daa2iso-0.1.5a depends on: unzip-* - found
> ===>  Verifying specs:  c z c z
> ===>  found c.48.0 z.4.1
> ===>  Checking files for daa2iso-0.1.5a
> `/usr/ports/distfiles/daa2iso.zip' is up to date.
> >> (SHA256) daa2iso.zip: OK
> ===>  Extracting for daa2iso-0.1.5a
> ===>  Patching for daa2iso-0.1.5a
> ===>  Configuring for daa2iso-0.1.5a
> # make fake
> ===>  Building for daa2iso-0.1.5a
> cc -O2 -pipe -DNOLFS -O2 -s -c LzmaDec.c
> cc daa2iso.c -O2 -pipe -DNOLFS -O2 -s -o daa2iso -lz LzmaDec.o
> In file included from LzmaDec.h:16,
>                  from daa2iso.c:33:
> Types.h:33: warning: redefinition of `Byte'
> /usr/include/zconf.h:261: warning: `Byte' previously declared here
> /tmp//cciVFPMj.o(.text+0x1467): In function `daa_next':
> : warning: sprintf() is often misused, please use snprintf()
> ===>  Faking installation for daa2iso-0.1.5a
> cd /usr/ports/archivers/daa2iso/w-daa2iso-0.1.5a/src && cp daa2iso 
> /usr/ports/archivers/daa2iso/w-daa2iso-0.1.5a/fake-amd64/usr/local/bin
> #mkdir -p 
> /usr/ports/archivers/daa2iso/w-daa2iso-0.1.5a/fake-amd64/usr/local/share/doc/daa2iso
> #cd /usr/ports/archivers/daa2iso/w-daa2iso-0.1.5a && cp daa2iso.txt 
> /usr/ports/archivers/daa2iso/w-daa2iso-0.1.5a/fake-amd64/usr/local/share/doc/daa2iso
> # rm pkg/PLIST
> rm: pkg/PLIST: No such file or directory
> # make plist
> ===>  Updating plist for daa2iso-0.1.5a
> /usr/ports/archivers/daa2iso/pkg/PLIST is new
> # make package
> `/usr/ports/archivers/daa2iso/w-daa2iso-0.1.5a/fake-amd64/.fake_done' is up 
> to date.
> ===>  Building package for daa2iso-0.1.5a
> Create /usr/ports/packages/amd64/all/daa2iso-0.1.5a.tgz
> Link to /usr/ports/packages/amd64/ftp/daa2iso-0.1.5a.tgz
> Link to /usr/ports/packages/amd64/cdrom/daa2iso-0.1.5a.tgz
> # pkg_add daa2iso
> Can't resolve daa2iso
> # make
> # make install
> ===>  Verifying specs:  c z
> ===>  found c.48.0 z.4.1
> ===>  Installing daa2iso-0.1.5a from /usr/ports/packages/amd64/all/
> daa2iso-0.1.5a: complete
>  # make uninstall
> ===> Deinstalling for daa2iso-0.1.5a
> daa2iso-0.1.5a: complete
> 
> Here's the Makefile in progress:
> 
> # $OpenBSD: Makefile.template,v 1.55 2008/08/23 15:28:00 ajacoutot Exp $
> # $FreeBSD/NetBSD: credit FreeBSD/NetBSD if thats where the port came from $
> # Original from: credit the original author here
> 
> COMMENT =     converts daa to ISO9660                         
> DISTNAME =    daa2iso 
> PKGNAME =     ${DISTNAME}-0.1.5a
> CATEGORIES =  archivers
> 
> MASTER_SITES =                http://aluigi.altervista.org/mytoolz/
> 
> HOMEPAGE =            http://aluigi.altervista.org/mytoolz.htm
> 
> #GPLv2
> PERMIT_PACKAGE_CDROM =        YES
> PERMIT_PACKAGE_FTP =  YES
> PERMIT_DISTFILES_CDROM =YES
> PERMIT_DISTFILES_FTP =        YES
> 
> EXTRACT_SUFX =                .zip
> 
> #Dependencies
> WANTLIB += c z
> 
> BUILD_DEPENDS =               ::archivers/unzip
> 
> #USE_GMAKE =          Yes
> CFLAGS +=             -DNOLFS
> NO_REGRESS =          Yes
> 
> WRKBUILD =            ${WRKDIR}/src
> 
> do-install:
>       cd ${WRKBUILD} && cp daa2iso ${DESTDIR}/usr/local/bin
>       #mkdir -p ${DESTDIR}/usr/local/share/doc/daa2iso
>       #cd ${WRKDIR} && cp daa2iso.txt ${DESTDIR}/usr/local/share/doc/daa2iso
> 
> 
> .include <bsd.port.mk>
> 
> 
> 
>                                            
> 
> 
> 
> 
> 
>       
> 

-- 
Guillermo Bernaldo de Quir??s Maraver Pedroche.

Reply via email to