aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/hugo/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/emulators/hugo/Makefile b/emulators/hugo/Makefile
index 01ac24a73d1d..544b1be922ae 100644
--- a/emulators/hugo/Makefile
+++ b/emulators/hugo/Makefile
@@ -55,4 +55,10 @@ MAKE_ENV+= PORTDOCS=true
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500041
+LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
+.endif
+
+.include <bsd.port.post.mk>