summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/qscheme/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/qscheme/Makefile b/lang/qscheme/Makefile
index 711c5f9c17c4..21b372105a8c 100644
--- a/lang/qscheme/Makefile
+++ b/lang/qscheme/Makefile
@@ -26,4 +26,10 @@ CONFIGURE_ARGS= --with-pcre-dir=${LOCALBASE}/lib \
--with-avcall-dir=${LOCALBASE}/lib \
--with-avcall-inc=${LOCALBASE}/include
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500000
+BUILD_DEPENDS+= ${LOCALBASE}/include/gmp.h:${PORTSDIR}/math/libgmp4
+.endif
+
+.include <bsd.port.post.mk>