summaryrefslogtreecommitdiff
path: root/net/ntp4
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-02-18 22:18:48 +0000
committerjoerg <joerg@pkgsrc.org>2014-02-18 22:18:48 +0000
commitf56291aa5051bda594dbdfd21c90afc1ac6c5df8 (patch)
tree1b1ab9fb9fcbb52ba13a2bc127fb163b1936ac3a /net/ntp4
parented6e0600a8d3a314c0b4ae2ce272c6e5a15fe092 (diff)
downloadpkgsrc-f56291aa5051bda594dbdfd21c90afc1ac6c5df8.tar.gz
Restrict the explicit -lgcc_s to Linux as the comment indicates where it
is aimed at.
Diffstat (limited to 'net/ntp4')
-rw-r--r--net/ntp4/distinfo4
-rw-r--r--net/ntp4/patches/patch-configure15
-rw-r--r--net/ntp4/patches/patch-sntp_configure15
3 files changed, 33 insertions, 1 deletions
diff --git a/net/ntp4/distinfo b/net/ntp4/distinfo
index bdc398291b9..9d98ee2120d 100644
--- a/net/ntp4/distinfo
+++ b/net/ntp4/distinfo
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.17 2014/01/12 17:01:02 spz Exp $
+$NetBSD: distinfo,v 1.18 2014/02/18 22:18:48 joerg Exp $
SHA1 (ntp-dev-4.2.7p410.tar.gz) = d93719047fdd9e67287edaabb1653735ffaf28f3
RMD160 (ntp-dev-4.2.7p410.tar.gz) = 309f7c6ba088b9c4ac0b2bd018ea3918fb837d4f
Size (ntp-dev-4.2.7p410.tar.gz) = 6334536 bytes
SHA1 (patch-aa) = b247569339d09a88f2e143e355033ce7635ffe92
+SHA1 (patch-configure) = a244467f886a8fedfa7a84864898fa6d84e0a6a3
+SHA1 (patch-sntp_configure) = c0c3d8bc9a23f3ef3ecfc369298df71f0da55943
SHA1 (patch-sntp_loc_pkgsrc) = 6e46ffc0cc2afcfdc1d01297cbe04cb80d103575
diff --git a/net/ntp4/patches/patch-configure b/net/ntp4/patches/patch-configure
new file mode 100644
index 00000000000..b4482564506
--- /dev/null
+++ b/net/ntp4/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2014/02/18 22:18:48 joerg Exp $
+
+--- configure.orig 2014-02-18 19:22:37.000000000 +0000
++++ configure
+@@ -26457,8 +26457,8 @@ done
+ # because thread cancellation fails to load libgcc_s with dlopen().
+ # We have to pass this all as linker options to avoid argument
+ # reordering by libtool.
+- case "$GCC$with_gnu_ld" in
+- yesyes)
++ case "$GCC,$with_gnu_ld,$host_os" in
++ yes,yes,linux)
+ PTHREAD_LIBS="$LTHREAD_LIBS -Wl,--no-as-needed,-lgcc_s,--as-needed"
+ ;;
+ esac
diff --git a/net/ntp4/patches/patch-sntp_configure b/net/ntp4/patches/patch-sntp_configure
new file mode 100644
index 00000000000..01ff3df41f3
--- /dev/null
+++ b/net/ntp4/patches/patch-sntp_configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-sntp_configure,v 1.1 2014/02/18 22:18:48 joerg Exp $
+
+--- sntp/configure.orig 2014-02-18 19:31:21.000000000 +0000
++++ sntp/configure
+@@ -14368,8 +14368,8 @@ done
+ # because thread cancellation fails to load libgcc_s with dlopen().
+ # We have to pass this all as linker options to avoid argument
+ # reordering by libtool.
+- case "$GCC$with_gnu_ld" in
+- yesyes)
++ case "$GCC,$with_gnu_ld,$host_os" in
++ yes,yes,linux)
+ PTHREAD_LIBS="$LTHREAD_LIBS -Wl,--no-as-needed,-lgcc_s,--as-needed"
+ ;;
+ esac