Subject: pkg/24099: lang/perl5/ clobbers OTHERLDFLAGS
To: None <>
From: Eric Gillespie <>
List: netbsd-bugs
Date: 01/14/2004 21:42:22
>Number:         24099
>Category:       pkg
>Synopsis:       lang/perl5/ clobbers OTHERLDFLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 15 02:41:00 UTC 2004
>Release:        NetBSD 1.6
System: NetBSD 1.6 NetBSD 1.6 ($Id: WUNDAGORE 435 2002-10-02 02:08:24Z epg $) #6: Sun Jan 12 17:26:34 EST 2003 i386
Architecture: i386
Machine: i386
Johnny Lam asked me to file this (from
<> on tech-pkg):

While working on merging Perl bindings changes for Subversion
1.0, i think i found the problem with our devel/p5-subversion
package.  Unfortunately, i do not know the best way to solve it.
I'd appreciate any help.

Subversion's Makefile.PL contains this:

        OTHERLDFLAGS => join(' ', $apr_ldflags, (map {"-L$_"} @ldpaths),
                             @ldmodules, '-lsvn_swig_perl-1',
                             `swig -perl -ldflags`),

which results in this in the Makefile:

OTHERLDFLAGS =  -L../.libs -L../../../libsvn_client/.libs -L../../../libsvn_delta/.libs -L../../../libsvn_fs/.libs -L../../../libsvn_ra/.libs -L../../../libsvn_repos/.libs -L../../../libsvn_wc/.libs -L../../../libsvn_diff/.libs -L../../../libsvn_subr/.libs -lsvn_client-1 -lsvn_delta-1 -lsvn_fs-1 -lsvn_ra-1 -lsvn_repos-1 -lsvn_wc-1 -lsvn_diff-1 -lsvn_subr-1 -lsvn_swig_perl-1 -L/usr/pkg/lib -lswigpl

But perl5/ clobbers OTHERLDFLAGS.