Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 1998 22:27:26 +0200 (MET DST)
From:      Mathias Picker <mathiasp@virtual-earth.de>
To:        freebsd-ports@FreeBSD.ORG
Subject:   -ldl and dlsym autoconf questions
Message-ID:  <199809142027.WAA01601@mp.virtual-earth.de>

next in thread | raw e-mail | index | archive | help
Hi all,

I'm trying to port dia ( http://www.lysator.liu.se/~alla/dia/dia.html).
The only problems I saw where:

1) the Makefile used -ldl where it shouldn't

2) there is a call to dlsym("register_objects"... which needs to be
dlsym("_register_objects"...

Is there a recommended way to handle both cases via autoconf? This will
be my first experience with autoconf, so bear with my clueless question!
Or should the last thing be done by testing for BSD in the source? The
ports-intro mentions not to test for FreeBSD, but for BSD and version,
will this work for dlsym, too? What would be the most general thing to
do?

Thanks,

Mathias

Oh, yes, this is all on freebsd-stable about three weeks old...
Will something in this area change with the switch to 3.0?
-- 

  Mathias Picker

Consultant Information Architecture 

  Mathias.Picker@virtual-earth.de 
              +49 172 / 89 19 381


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809142027.WAA01601>