summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/vgb-bin/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/emulators/vgb-bin/Makefile b/emulators/vgb-bin/Makefile
index bf6dfdb96bb6..542144ff1090 100644
--- a/emulators/vgb-bin/Makefile
+++ b/emulators/vgb-bin/Makefile
@@ -34,4 +34,11 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/VGB.html ${PREFIX}/share/doc/vgb
.endif # !defined(NOPORTDOCS)
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500000
+LIB_DEPENDS+= c_r.4:${PORTSDIR}/misc/compat4x
+.endif
+
+.include <bsd.port.post.mk>
+