pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/42265: devel/libdaemon build complains (and fails) with undefined libc symbols (NetBSD 4.0/i386)
The following reply was made to PR pkg/42265; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/42265: devel/libdaemon build complains (and fails) with
undefined libc symbols (NetBSD 4.0/i386)
Date: Wed, 11 Nov 2009 16:37:23 +0700
Date: Tue, 10 Nov 2009 23:25:02 +0000 (UTC)
From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
Message-ID: <20091110232502.09A2063B8CD%www.NetBSD.org@localhost>
| Just add -lc.
That's the "make the NetBSD 4 package look like a NetBSD 5 version"
alternative fix ...
If that's the best way, then the appended (simpler) patch should
handle that, libdaemon builds on NetBSD 4.0 with this patch, and the
resulting package works OK to build at least one of the packages that
use it (too lazy to go rebuild all of them...), so this looks fine to me.
It may be worthwhile to only set LIBS when the OS is NetBSD 4* - I'll
leave that for someone else to decide.
kre
diff -u -r ../libdaemon/Makefile ./Makefile
--- ../libdaemon/Makefile 2009-10-31 09:54:34.000000000 +0700
+++ ./Makefile 2009-11-11 16:28:07.000000000 +0700
@@ -18,6 +18,7 @@
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --disable-lynx
+LIBS=-lc
INSTALLATION_DIRS= share/doc/libdaemon
Home |
Main Index |
Thread Index |
Old Index