diff options
author | tv <tv@pkgsrc.org> | 2007-01-03 16:23:10 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2007-01-03 16:23:10 +0000 |
commit | 397f89f8ea905281664d0312045c6dd5897a5890 (patch) | |
tree | 571019ec039ac0ec85d81fa4c4fa8580fe8d76df /graphics/png/patches | |
parent | cbf063eee3c98695ec0af2e5b0ba182c73601713 (diff) | |
download | pkgsrc-397f89f8ea905281664d0312045c6dd5897a5890.tar.gz |
Don't allow "ld --version-script" on Interix. Fixes PR pkg/35210.
Based on patch idea from Aleksey Cheusov <cheusov@tut.by>.
(Sanity tested for breakage on a non-Interix platform, NetBSD.)
Diffstat (limited to 'graphics/png/patches')
-rw-r--r-- | graphics/png/patches/patch-ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/png/patches/patch-ac b/graphics/png/patches/patch-ac new file mode 100644 index 00000000000..a832b07c81a --- /dev/null +++ b/graphics/png/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.6 2007/01/03 16:23:10 tv Exp $ + +--- configure.orig 2006-11-28 11:26:14.000000000 -0500 ++++ configure +@@ -21341,7 +21341,7 @@ fi + { echo "$as_me:$LINENO: checking if libraries can be versioned" >&5 + echo $ECHO_N "checking if libraries can be versioned... $ECHO_C" >&6; } + GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script` +-if test "$GLD"; then ++if test "$GLD" && test "`uname -s`" != "Interix"; then + have_ld_version_script=yes + { echo "$as_me:$LINENO: result: yes" >&5 + echo "${ECHO_T}yes" >&6; } |