Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  1 Jun 2006 09:02:52 +0800 (CST)
From:      Cheng-Lung Sung <clsung@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        llwang@infor.org
Subject:   ports/98253: [PATCH] emulators/hugo: fix build in 4.x
Message-ID:  <20060601010252.8093428486@going04.iis.sinica.edu.tw>
Resent-Message-ID: <200606010110.k511ACQu093713@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060601010252.8093428486>