i waited a little if a more skilled developer would give you some hints but now i have a go. fink developers correct me if i'm wrong here.
your .info file:
Package: PDCurses
Version: 2
Revision: 6
i haven't had a look myself at what version PDCurses is. the version fiel represents the whole number (including revision). the revision field is used for your revisions you make to that .info file. every -info file submitted for the first time or for a new version therefore has a a in there. i guess it would be
Version: 2.6
Revision: 1
Maintainer: eric
your email address goes thete as well once you submit the .info file and are willing to maintain that package.
Maintainer: Eric Oberle <[EMAIL PROTECTED]>
ConfigureFlags: --prefix=/sw
Configurescript: configure %c
these are not necessary as this is the default setting.
InstallScript: make install DESTDIR=%d
same for that.
also be sure to add the right dependancies to your .info file.
When I put that in my local directory as 'PDCurses.info'
this would be PDCurses-2.6-1.info
getting different results when compiling manually or in the fink environment might be caused by fink's default settings, which are, i think
SetLDFLAGS: -L%p/lib
SetCFLAGS: -I%p/include
try that manually with the setenv/export command and see if you get the same. or the other way round, add the following to your .info file:
NoSetLDFLAGS: true
NoSetCFLAGS: true
there's a useful document at
<http://fink.sourceforge.net/doc/packaging/packaging.html>
(hope it's still there, i downloaded a version a while ago.)
mathias