Subject: Re: CVS commit: pkgsrc
To: D'Arcy J.M. Cain <darcy@NetBSD.org>
From: Johnny C. Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 08/27/2004 08:41:55
On Fri, Aug 27, 2004 at 04:26:22AM -0400, D'Arcy J.M. Cain wrote:
> > > Log Message:
> > > Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
> > > which are the full option names used to set rpath directives for the
> > > linker and the compiler, respectively.  In places were we are
> > > invoking the linker, use "${LINKER_RPATH_FLAG} <path>", where the
> > > space is inserted in case the flag is a word, e.g. -rpath.  The
> > > default values of *_RPATH_FLAG are set by the compiler/*.mk files,
> > > depending on the compiler that you use.  They may be overridden on a
> > > ${OPSYS}-specific basis by setting _OPSYS_LINKER_RPATH_FLAG and
> > > _OPSYS_COMPILER_RPATH_FLAG, respectively.  Garbage-collect
> > > _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
> > 
> > Hi.  Is it possible that this change is causing this problem?
> > 
> > ===> Overriding tools for kdepim-3.3.0
> > make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line
> > 1624: Malformed conditional (empty(_BLNK_RPATH_FLAGS:M-Wl,-R))
> > make: "../../mk/buildlink3/../../mk/buildlink3/bsd.buildlink3.mk" line
> > 1624: Missing dependency operator
> > make: "../../mk/../../mk/bsd.pkg.mk" line 1230: if-less endif
> > make: "../../mk/../../mk/bsd.pkg.mk" line 1230: Need an operator
> > make: Fatal errors encountered -- cannot continue
> > 
> > make: stopped in /usr/NetBSD/cvs/pkgsrc/misc/kdepim3
> > *** Error code 1
> > 
> > Thanks.

I've just checked in a fix for this.  Please let me know if this is still
causing problems.

	Cheers,

	-- Johnny Lam <jlam@NetBSD.org>