pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ghc7 ghc7: refine NetBSD 9.x build fix for sandbo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b67fce029c60
branches: trunk
changeset: 403753:b67fce029c60
user: gutteridge <gutteridge%pkgsrc.org@localhost>
date: Fri Nov 01 06:10:23 2019 +0000
description:
ghc7: refine NetBSD 9.x build fix for sandboxed pbulk
diffstat:
lang/ghc7/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 219ae40ef92e -r b67fce029c60 lang/ghc7/Makefile
--- a/lang/ghc7/Makefile Fri Nov 01 06:03:57 2019 +0000
+++ b/lang/ghc7/Makefile Fri Nov 01 06:10:23 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2019/10/29 05:12:47 gutteridge Exp $
+# $NetBSD: Makefile,v 1.36 2019/11/01 06:10:23 gutteridge Exp $
# -----------------------------------------------------------------------------
# Package metadata
#
@@ -193,6 +193,10 @@
# compat80.
.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M[0-8].*)
BUILD_DEPENDS+= compat80-[0-9]*:../../emulators/compat80
+# In a sandboxed build environment, we have to reach over to the
+# installed libraries themselves, since the symlinks compat80 adds
+# to the /usr tree can't be applied.
+MAKE_ENV+= LD_LIBRARY_PATH=${LOCALBASE}/emul/netbsd/usr/lib
.endif
.include "../../converters/libiconv/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index