diff options
author | tron <tron@pkgsrc.org> | 2007-03-12 19:19:45 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2007-03-12 19:19:45 +0000 |
commit | f2c3793d4de508e02a70423d26fba4b5ee055032 (patch) | |
tree | 973afb765042d171ba43505bc2ac93b3f73ada9f /mk | |
parent | 4681cea372cc5d7e78c22d8fca41f648fb0ba1db (diff) | |
download | pkgsrc-f2c3793d4de508e02a70423d26fba4b5ee055032.tar.gz |
Don't handle Perl's "DynaLoader.a" specially under Mac OS X. It is not
necessary and doing so causes build problems.
This fixes PR pkg/35990.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink3/cmd-sink-libtool | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mk/buildlink3/cmd-sink-libtool b/mk/buildlink3/cmd-sink-libtool index 75599527020..8012504b28f 100644 --- a/mk/buildlink3/cmd-sink-libtool +++ b/mk/buildlink3/cmd-sink-libtool @@ -1,4 +1,4 @@ -# $NetBSD: cmd-sink-libtool,v 1.2 2005/08/05 19:46:41 jlam Exp $ +# $NetBSD: cmd-sink-libtool,v 1.3 2007/03/12 19:19:45 tron Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -48,8 +48,10 @@ while ! queue_is_empty cmdbuf; do # right thing. ############################################################## */DynaLoader.a) - arg="${arg%/DynaLoader.a}/libDynaLoader_pic.a" - $debug_log $wrapperlog " (cmd-sink-libtool) to: $arg" + if [ "$OPSYS" != "Darwin" ]; then + arg="${arg%/DynaLoader.a}/libDynaLoader_pic.a" + $debug_log $wrapperlog " (cmd-sink-libtool) to: $arg" + fi . $buildcmd ;; ############################################################## |