summaryrefslogtreecommitdiff
path: root/lang/ghc88
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2020-09-16 17:26:31 +0000
committerjperkin <jperkin@pkgsrc.org>2020-09-16 17:26:31 +0000
commit256c555045fba6bb1ae8331eb94f001555667cbc (patch)
tree859d7f3f8e84595cad68b1112e533abcd223876d /lang/ghc88
parentc78f9ab49e2c5859e4891db4eb1b08e6c4710a94 (diff)
downloadpkgsrc-256c555045fba6bb1ae8331eb94f001555667cbc.tar.gz
ghc88: Ensure libiconv can be found at runtime.
Diffstat (limited to 'lang/ghc88')
-rw-r--r--lang/ghc88/distinfo3
-rw-r--r--lang/ghc88/patches/patch-libraries_base_configure15
2 files changed, 17 insertions, 1 deletions
diff --git a/lang/ghc88/distinfo b/lang/ghc88/distinfo
index 53f966d68d5..9dd33b2ee9b 100644
--- a/lang/ghc88/distinfo
+++ b/lang/ghc88/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2020/08/24 17:23:11 pho Exp $
+$NetBSD: distinfo,v 1.13 2020/09/16 17:26:31 jperkin 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
@@ -32,6 +32,7 @@ SHA1 (patch-libraries_Cabal_Cabal_Distribution_Simple_GHC.hs) = a4c82b1282c0580a
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_base_configure) = f06a961a6507f635aafe50dab3ff4396c012bdec
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_System_Posix_Env.hsc) = e94936c139ca15d45cac4a7feb74a601567913ab
diff --git a/lang/ghc88/patches/patch-libraries_base_configure b/lang/ghc88/patches/patch-libraries_base_configure
new file mode 100644
index 00000000000..d45625fe27d
--- /dev/null
+++ b/lang/ghc88/patches/patch-libraries_base_configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-libraries_base_configure,v 1.1 2020/09/16 17:26:31 jperkin Exp $
+
+Ensure libiconv can be found at runtime.
+
+--- libraries/base/configure.orig 2020-09-15 12:39:44.549328929 +0000
++++ libraries/base/configure
+@@ -4459,7 +4459,7 @@ fi
+
+ # Check whether --with-iconv-libraries was given.
+ if test "${with_iconv_libraries+set}" = set; then :
+- withval=$with_iconv_libraries; ICONV_LIB_DIRS=$withval; LDFLAGS="-L$withval $LDFLAGS"
++ withval=$with_iconv_libraries; ICONV_LIB_DIRS=$withval; LDFLAGS="-L$withval ${COMPILER_RPATH_FLAG}$withval $LDFLAGS"
+ else
+ ICONV_LIB_DIRS=
+ fi