diff options
author | joerg <joerg> | 2005-12-06 18:26:49 +0000 |
---|---|---|
committer | joerg <joerg> | 2005-12-06 18:26:49 +0000 |
commit | db5dca0e830df8b4574fbc2e3c2d4589e1e38be8 (patch) | |
tree | 71f6353f976564a09c208e333ef58a3833e0ce63 /lang/python20 | |
parent | 621d01941946342ba1ff3e2d3dc143906619461c (diff) | |
download | pkgsrc-db5dca0e830df8b4574fbc2e3c2d4589e1e38be8.tar.gz |
Fix shared linking on DragonFly.
Diffstat (limited to 'lang/python20')
-rw-r--r-- | lang/python20/distinfo | 3 | ||||
-rw-r--r-- | lang/python20/patches/patch-ah | 32 |
2 files changed, 34 insertions, 1 deletions
diff --git a/lang/python20/distinfo b/lang/python20/distinfo index e7371d1cc40..cf241236b0a 100644 --- a/lang/python20/distinfo +++ b/lang/python20/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2005/11/16 19:18:58 joerg Exp $ +$NetBSD: distinfo,v 1.11 2005/12/06 18:26:49 joerg Exp $ SHA1 (python/Python-2.0.1.tgz) = 776584b245ad58ad548732d0c47397c582a4bbab RMD160 (python/Python-2.0.1.tgz) = fe663234ff4a8b363f10f6e5589acf1d8b00573f @@ -10,6 +10,7 @@ SHA1 (patch-ad) = f545b33bde36eac8737458506f3fdb25c0f39b5d SHA1 (patch-ae) = e962dad92260a1f506298ba3ebb059e852c4ccf4 SHA1 (patch-af) = 9ed51b6868c3c7e24d92b52f0dc260e9c30d99bc SHA1 (patch-ag) = 4b1b561832d6a044c6be0372f9f915b09fab4c3c +SHA1 (patch-ah) = c48beff9fe4d4f61e21c0952f4a7547cae28c0bb SHA1 (patch-bb) = adab8436d470acdc07149fdd6eed09c20ebf965e SHA1 (patch-bc) = fdd18d0fab171364d4733975351fbc60c81d0a4a SHA1 (patch-cd) = 60107e1857ff4177efebfbf33fcc2df2a50c61fc diff --git a/lang/python20/patches/patch-ah b/lang/python20/patches/patch-ah new file mode 100644 index 00000000000..de469ba112e --- /dev/null +++ b/lang/python20/patches/patch-ah @@ -0,0 +1,32 @@ +$NetBSD: patch-ah,v 1.1 2005/12/06 18:26:49 joerg Exp $ + +--- configure.orig 2005-12-06 18:07:36.000000000 +0000 ++++ configure +@@ -2689,6 +2689,9 @@ then + else + LDSHARED="ld -Bshareable" + fi;; ++ DragonFly*) ++ LDSHARED="cc -shared ${LDFLAGS}" ++ ;; + FreeBSD*) + if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ] + then +@@ -2716,7 +2719,7 @@ then + Linux*) CCSHARED="-fpic";; + BSD/OS*/4*) CCSHARED="-fpic";; + OpenBSD*) CCSHARED="-fpic";; +- FreeBSD*|NetBSD*) CCSHARED="-fPIC";; ++ FreeBSD*|NetBSD*|DragonFly*) CCSHARED="-fPIC";; + SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";; + Monterey*) CCSHARED="-G";; + IRIX*/6*) case $CC in +@@ -2748,7 +2751,7 @@ then + Darwin/*) LINKFORSHARED="-framework System" ;; + SCO_SV*) LINKFORSHARED="-Bdynamic -dy -Wl,-Bexport";; + ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";; +- FreeBSD*|NetBSD*) ++ FreeBSD*|NetBSD*|DragonFly*) + if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ] + then + LINKFORSHARED="-Wl,--export-dynamic" |