New porter question

Daniel O'Connor darius at dons.net.au
Sat Apr 24 18:42:55 PDT 2010


On 25/04/2010, at 6:44 AM, Joseph Holsten wrote:

> Daniel O'Connor wrote:
>> I'm trying to port tclreadline but I'm having problems convincing it that the linker does shared libs..
> [snip
>> I have a reasonable amount of experience with FreeBSD ports but none for MacPorts so any help is appreciated :)
> 
> I've created a new ticket for you to track this: http://trac.macports.org/ticket/24638. Until you get commit access, this is the best way to submit new ports.

OK thanks.

> I assume you've put together a local portfile repo per http://guide.macports.org/#development.local-repositories. 

Yep.

> Since tclreadline is a sourceforge project that should just work with a ./configure; make; make install, you should be able to use a relatively standard portfile format like I've put in the ticket. The only trick is getting the right checksums, you can get these by putting together a dummy portfile and running 'port -d checksum $PORTNAME'. When you update this portfile in the future, you'll run 'port livecheck $PORTNAME' to see if there's a new version, update that, then update the checksums.

Yes, already did that :)

> I do notice that tclreadline's installation wants to place it's manuals into ${prefix}/man/, but macports prefers ${prefix}/share/man/. Please fix this if you can. It's probably due to the use of autoconf-2.13(!), which was released in 1999.  Maybe you could pass a sane mandir to configure?

As per my original email I can't convince the (equally ancient I imagine) configure script that the linker can make shared libraries.

If I run autoreconf then I get some very odd errors..

Unfortunately I don't know that much about auto*, especially under MacPorts :)

> Let us know if you have any issues, this list and irc://chat.freenode.net/#MacPorts are well frequented.

OK.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C








More information about the macports-dev mailing list