aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-06-01 14:02:10 +0800
committerclsung <clsung@FreeBSD.org>2006-06-01 14:02:10 +0800
commitee3247b15cfd3502a580436a32ed84f908bff4c5 (patch)
tree947af72b6acbce543ca8c451931ca9ad3d099b24 /emulators
parentb0c2bb49e392a6954f51f74a5700e88479bc2295 (diff)
downloadfreebsd-ports-gnome-ee3247b15cfd3502a580436a32ed84f908bff4c5.tar.gz
freebsd-ports-gnome-ee3247b15cfd3502a580436a32ed84f908bff4c5.tar.zst
freebsd-ports-gnome-ee3247b15cfd3502a580436a32ed84f908bff4c5.zip
- add gnugetopt dependency. Fix build in 4.x
PR: ports/98253 Submitted by: clsung Approved by: maintainer
Diffstat (limited to 'emulators')
-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>