help with new port (analog-devel)

Mark Foster mark at foster.cc
Thu Jun 24 08:12:29 PDT 2004


I'm attempting to prepare a new port submission www/analog-devel. There 
are a few things strange that I could use some help solving first.
When compiling, I have to run make twice. The first time through I get 
this output:
cc -O -pipe  -I/usr/local/include -I/usr/local/include/gd -o ../analog 
alias.o a
nalog.o cache.o dates.o globals.o hash.o init.o init2.o  input.o 
macinput.o macs
tuff.o output.o output2.o outcro.o outhtml.o  outlatex.o outplain.o 
outxhtml.o o
utxml.o process.o settings.o sort.o  tree.o utils.o win32.o libgd/gd.o  
libgd/gd
_io.o libgd/gd_io_file.o libgd/gd_png.o  libgd/gdfontf.o libgd/gdfonts.o 
libgd/g
dtables.o  libpng/png.o libpng/pngerror.o libpng/pngmem.o 
libpng/pngset.o  libpn
g/pngtrans.o libpng/pngwio.o libpng/pngwrite.o  libpng/pngwtran.o 
libpng/pngwuti
l.o pcre/pcre.o  zlib/adler32.o zlib/compress.o zlib/crc32.o 
zlib/deflate.o  zli
b/gzio.o zlib/infblock.o zlib/infcodes.o zlib/inffast.o  zlib/inflate.o 
zlib/inf
trees.o zlib/infutil.o zlib/trees.o  zlib/uncompr.o zlib/zutil.o 
unzip/ioapi.o u
nzip/unzip.o  bzip2/bzlib.o bzip2/blocksort.o bzip2/compress.o 
bzip2/crctable.o
 bzip2/decompress.o bzip2/huffman.o bzip2/randtable.o -lm 
-L/usr/local/lib -lgd
-lpng -ljpeg -lz
cc: unzip/ioapi.o: No such file or directory
cc: unzip/unzip.o: No such file or directory
*** Error code 1

If I run make again, everything compiles fine and I can make install.

Also, I have some hesitation about the following Makefile variables.
PORTNAME=       analog <-- Should this be analog-devel?
PORTVERSION=    5.91 <-- Should this be 5.91beta1?
DISTNAME=       ${PORTNAME}-${PORTVERSION}beta1
CONFLICTS=      analog

The tarball it grabs is named analog-5.91beta1.tar.gz
Running portlint -N gives no error.
Thanks for your help.
mark

-- 
Some days it's just not worth chewing through the restraints...
Mark D. Foster, CISSP <mark at foster.cc>  http://mark.foster.cc/




More information about the freebsd-ports mailing list