Date: Tue, 13 Jun 2006 00:06:44 +0100 From: Shaun Amott <shaun@inerd.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/98881: games/briquolo: mark BROKEN on 4.x; add USE_GETTEXT Message-ID: <1150153604.68653@charon.picobyte.net> Resent-Message-ID: <200606122310.k5CNAFiI060320@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 98881 >Category: ports >Synopsis: games/briquolo: mark BROKEN on 4.x; add USE_GETTEXT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 12 23:10:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Shaun Amott >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: >Description: - Mark BROKEN on 4.x - Add USE_GETTEXT Briquolo fails to build when NLS is disabled, but I have left the PLIST changes in to silence portlint(1). >How-To-Repeat: >Fix: --- briquolo.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/games/briquolo/Makefile,v retrieving revision 1.20 diff -u -r1.20 Makefile --- Makefile 7 May 2006 23:45:08 -0000 1.20 +++ Makefile 12 Jun 2006 23:03:16 -0000 @@ -29,6 +29,14 @@ CPPFLAGS= -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib +#.if defined(WITHOUT_NLS) +#CONFIGURE_ARGS+= --disable-nls +#PLIST_SUB+= NLS="@comment " +#.else +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +#.endif + post-patch: @${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/configure @${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ @@ -37,4 +45,10 @@ pre-install: ${MKDIR} ${PREFIX}/share/applications -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if (${OSVERSION} < 500000) +BROKEN= requires a newer libc (with wide character functions) +.endif + +.include <bsd.port.post.mk> Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/games/briquolo/pkg-plist,v retrieving revision 1.5 diff -u -r1.5 pkg-plist --- pkg-plist 22 Jan 2006 02:10:59 -0000 1.5 +++ pkg-plist 12 Jun 2006 23:03:16 -0000 @@ -98,14 +98,14 @@ %%DATADIR%%/tableau/old/016.tab %%DATADIR%%/tableau/old/description share/pixmaps/briquolo.svg -share/locale/fr/LC_MESSAGES/briquolo.mo -share/locale/nl/LC_MESSAGES/briquolo.mo -share/locale/de/LC_MESSAGES/briquolo.mo -share/locale/ru/LC_MESSAGES/briquolo.mo -share/locale/be/LC_MESSAGES/briquolo.mo -share/locale/pl/LC_MESSAGES/briquolo.mo -share/locale/pt/LC_MESSAGES/briquolo.mo -share/locale/sk/LC_MESSAGES/briquolo.mo +%%NLS%%share/locale/fr/LC_MESSAGES/briquolo.mo +%%NLS%%share/locale/nl/LC_MESSAGES/briquolo.mo +%%NLS%%share/locale/de/LC_MESSAGES/briquolo.mo +%%NLS%%share/locale/ru/LC_MESSAGES/briquolo.mo +%%NLS%%share/locale/be/LC_MESSAGES/briquolo.mo +%%NLS%%share/locale/pl/LC_MESSAGES/briquolo.mo +%%NLS%%share/locale/pt/LC_MESSAGES/briquolo.mo +%%NLS%%share/locale/sk/LC_MESSAGES/briquolo.mo @dirrm %%DATADIR%%/tableau/old @dirrm %%DATADIR%%/tableau/new @dirrm %%DATADIR%%/tableau --- briquolo.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1150153604.68653>