ports/98253: [PATCH] emulators/hugo: fix build in 4.x
Cheng-Lung Sung
clsung at FreeBSD.org
Thu Jun 1 01:10:20 UTC 2006
>Number: 98253
>Category: ports
>Synopsis: [PATCH] emulators/hugo: fix build in 4.x
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 01 01:10:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Cheng-Lung Sung
>Release: FreeBSD 6.1-STABLE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD going04.iis.sinica.edu.tw 6.1-STABLE FreeBSD 6.1-STABLE #16: Fri May 12 09:03:05 CST 2006
>Description:
- add gnugetopt dependency. Fix build in 4.x
Port maintainer (llwang at infor.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- hugo-2.12.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/emulators/hugo/Makefile,v
retrieving revision 1.1
diff -u -u -r1.1 Makefile
--- Makefile 27 May 2006 15:24:20 -0000 1.1
+++ Makefile 1 Jun 2006 00:59:12 -0000
@@ -55,4 +55,10 @@
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>
--- hugo-2.12.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list