pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/ghc88
Module Name: pkgsrc
Committed By: pho
Date: Fri Jan 17 07:10:57 UTC 2020
Modified Files:
pkgsrc/lang/ghc88: Makefile distinfo
Added Files:
pkgsrc/lang/ghc88/patches:
patch-libraries_Cabal_Cabal_Distribution_Simple_GHC.hs
Log Message:
Fix an rpath issue on NetBSD
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/ghc88/Makefile \
pkgsrc/lang/ghc88/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/lang/ghc88/patches/patch-libraries_Cabal_Cabal_Distribution_Simple_GHC.hs
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/ghc88/Makefile
diff -u pkgsrc/lang/ghc88/Makefile:1.6 pkgsrc/lang/ghc88/Makefile:1.7
--- pkgsrc/lang/ghc88/Makefile:1.6 Wed Jan 15 05:46:55 2020
+++ pkgsrc/lang/ghc88/Makefile Fri Jan 17 07:10:56 2020
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.6 2020/01/15 05:46:55 pho Exp $
+# $NetBSD: Makefile,v 1.7 2020/01/17 07:10:56 pho Exp $
# -----------------------------------------------------------------------------
# Package metadata
#
DISTNAME= ghc-8.8.1-src
+PKGREVISION= 1
PKGNAME= ${DISTNAME:S/-src$//}
CATEGORIES= lang
MASTER_SITES= https://downloads.haskell.org/~ghc/${PKGVERSION_NOREV}/
Index: pkgsrc/lang/ghc88/distinfo
diff -u pkgsrc/lang/ghc88/distinfo:1.6 pkgsrc/lang/ghc88/distinfo:1.7
--- pkgsrc/lang/ghc88/distinfo:1.6 Wed Jan 15 02:10:29 2020
+++ pkgsrc/lang/ghc88/distinfo Fri Jan 17 07:10:56 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2020/01/15 02:10:29 pho Exp $
+$NetBSD: distinfo,v 1.7 2020/01/17 07:10:56 pho Exp $
SHA1 (ghc-8.4.4-boot-i386-unknown-freebsd.tar.xz) = 04981802730423aa12999e59679be198d540222a
RMD160 (ghc-8.4.4-boot-i386-unknown-freebsd.tar.xz) = f617e67f2c2f07c7211cb391a4bc2e7b304045e2
@@ -24,13 +24,14 @@ SHA1 (patch-aclocal.m4) = a674a21f5be05f
SHA1 (patch-compiler_main_DynFlags.hs) = 07bb2a5afdd087f4d2da5c035feecc13273aec70
SHA1 (patch-configure.ac) = f521200b519fdaab1082c4a2fcac9c3dd9135d7b
SHA1 (patch-ghc_ghc.mk) = 331b947f6a5af09b3fda82697f071941166edbd0
+SHA1 (patch-libraries_Cabal_Cabal_Distribution_Simple_GHC.hs) = a4c82b1282c0580a7945be8c3b9d38bc760db99f
SHA1 (patch-libraries_base_GHC_Event_KQueue.hsc) = 8ee5da667a241a05fde3c580d3dc9bdc05aa5f00
SHA1 (patch-libraries_base_System_CPUTime_Posix_Times.hsc) = 2bfb779d534d12073287274ce5e90b99e457a860
SHA1 (patch-libraries_base_System_Environment.hs) = 7d79a91f295915b4408d5f41d5405739d7189215
SHA1 (patch-libraries_time_lib_Data_Time_Clock_Internal_CTimespec.hsc) = 588270767f8a9cbde0648fc99807891fef65d721
SHA1 (patch-libraries_time_lib_Data_Time_Clock_Internal_CTimeval.hs) = b2811ec4a845e6b2b44414e940b6108178b597c5
-SHA1 (patch-libraries_unix_include_execvpe.h) = 67dd9720a71a6a55bbe2b50e61621ca60187ef00
-SHA1 (patch-libraries_unix_System_Posix_Env_ByteString.hsc) = 3f675fc5d6bf5cc59a2d5ccffeb9ccd51521645a
SHA1 (patch-libraries_unix_System_Posix_Env.hsc) = e94936c139ca15d45cac4a7feb74a601567913ab
+SHA1 (patch-libraries_unix_System_Posix_Env_ByteString.hsc) = 3f675fc5d6bf5cc59a2d5ccffeb9ccd51521645a
SHA1 (patch-libraries_unix_System_Posix_Files_Common.hsc) = 6efef280832d376915a8987e4e8aac283408f607
SHA1 (patch-libraries_unix_System_Posix_Signals.hsc) = 49215dce493a6bbc440f91a3959e592f86fc779b
+SHA1 (patch-libraries_unix_include_execvpe.h) = 67dd9720a71a6a55bbe2b50e61621ca60187ef00
Added files:
Index: pkgsrc/lang/ghc88/patches/patch-libraries_Cabal_Cabal_Distribution_Simple_GHC.hs
diff -u /dev/null pkgsrc/lang/ghc88/patches/patch-libraries_Cabal_Cabal_Distribution_Simple_GHC.hs:1.1
--- /dev/null Fri Jan 17 07:10:57 2020
+++ pkgsrc/lang/ghc88/patches/patch-libraries_Cabal_Cabal_Distribution_Simple_GHC.hs Fri Jan 17 07:10:57 2020
@@ -0,0 +1,31 @@
+$NetBSD: patch-libraries_Cabal_Cabal_Distribution_Simple_GHC.hs,v 1.1 2020/01/17 07:10:57 pho Exp $
+
+Enable Cabal's rpath overriding functionality on all the platforms
+known to use ELF.
+
+When a Cabal package which defins both a library and an executable is
+to be built, GHC by default embeds an rpath to the *build* directory
+into the executable. This may sound like a bug in GHC but is actually
+not, because GHC doesn't know the fact that the said library is going
+to be installed elsewhere. To overcome this issue, Cabal has a
+functionality to disable the default rpath handling of GHC and
+construct the correct set of rpaths... but only on certain platforms
+for some reason.
+
+--- libraries/Cabal/Cabal/Distribution/Simple/GHC.hs.orig 2020-01-16 22:47:21.132921936 +0000
++++ libraries/Cabal/Cabal/Distribution/Simple/GHC.hs
+@@ -1725,10 +1725,10 @@ getRPaths lbi clbi | supportRPaths hostO
+ case compid of
+ CompilerId GHC ver | ver >= mkVersion [7,10,2] -> True
+ _ -> False
+- supportRPaths OpenBSD = False
+- supportRPaths NetBSD = False
+- supportRPaths DragonFly = False
+- supportRPaths Solaris = False
++ supportRPaths OpenBSD = True
++ supportRPaths NetBSD = True
++ supportRPaths DragonFly = True
++ supportRPaths Solaris = True
+ supportRPaths AIX = False
+ supportRPaths HPUX = False
+ supportRPaths IRIX = False
Home |
Main Index |
Thread Index |
Old Index