aboutsummaryrefslogtreecommitdiff
path: root/emulators/hugo
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-06-01 06:02:10 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-06-01 06:02:10 +0000
commit5ce504f96a413d2147985dc16ebd413dff628346 (patch)
treeb3d33ffdd3733d81d28fc61d66242f34cfabbc41 /emulators/hugo
parent6e66daa0b6e7738234f25f17ebc8db88800fd9cd (diff)
downloadports-5ce504f96a413d2147985dc16ebd413dff628346.tar.gz
ports-5ce504f96a413d2147985dc16ebd413dff628346.zip
- add gnugetopt dependency. Fix build in 4.x
PR: ports/98253 Submitted by: clsung Approved by: maintainer
Notes
Notes: svn path=/head/; revision=164137
Diffstat (limited to 'emulators/hugo')
-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>