Subject: LIBDPLIBS and ${.CURDIR}
To: NetBSD Current Users <current-users@netbsd.org>
From: Barry Bouwsma <freebsd-misuser@remove-NOSPAM-to-reply.NOSPAM.dyndns.dk>
List: current-users
Date: 08/07/2004 22:48:49
Source updated midday UTC 04.Aug.  It probably has been noted and
fixed already, but in my configuration, it seems like there needs
to be a Makefile tweak -- without this, I cannot cd ../libfoo...

--- /stand/src/NetBSD-src/source-hacks/share/mk/bsd.lib.mk-ORIG	Wed Aug  4 19:33:24 2004
+++ /stand/src/NetBSD-src/source-hacks/share/mk/bsd.lib.mk	Thu Aug  5 06:41:58 2004
@@ -24,7 +24,7 @@
 .if defined(LIBDPLIBS) && ${MKPIC} != "no"				# {
 .for _lib _dir in ${LIBDPLIBS}
 .if !defined(LIBDO.${_lib})
-LIBDO.${_lib}!=	cd ${_dir} && ${PRINTOBJDIR}
+LIBDO.${_lib}!=	cd ${.CURDIR}/${_dir} && ${PRINTOBJDIR}
 .MAKEOVERRIDES+=LIBDO.${_lib}
 .endif
 LDADD+=		-L${LIBDO.${_lib}} -l${_lib}


Sorry for the noise if this has been taken care of already.
I'm slow, and can't check for later revisions than 1.256 while
I'm building offline.  My build is plodding along so far.


thanks
barry bouwsma