summaryrefslogtreecommitdiff
path: root/lang/ghc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ghc/Makefile')
-rw-r--r--lang/ghc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index f3e39bfcf1a6..88cf3f8c2f3f 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -98,6 +98,10 @@ PLIST_SUB+= GHC_ARCH=${GHC_ARCH}
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 1500000
+BUILD_DEPENDS+= ${LOCALBASE}/lib/compat/libutil.so.9:misc/compat14x
+.endif
+
# GHC 9.2 has a different name for this
BOOT_SCRIPT?= ./boot.source