Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 2015 14:09:21 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r384362 - in head/games/cuyo: . files
Message-ID:  <201504201409.t3KE9LAY015764@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Mon Apr 20 14:09:20 2015
New Revision: 384362
URL: https://svnweb.freebsd.org/changeset/ports/384362

Log:
  Fix build when there is no /usr/bin/perl. (Also, say that this needs Perl for
  building WITH=NLS.)
  
  With hat:	perl
  Sponsored by:	Absolight

Modified:
  head/games/cuyo/Makefile
  head/games/cuyo/files/patch-po__Makefile.in

Modified: head/games/cuyo/Makefile
==============================================================================
--- head/games/cuyo/Makefile	Mon Apr 20 14:02:03 2015	(r384361)
+++ head/games/cuyo/Makefile	Mon Apr 20 14:09:20 2015	(r384362)
@@ -30,7 +30,8 @@ OPTIONS_SUB=		yes
 
 NLS_CONFIGURE_ENABLE=	nls
 NLS_BUILD_DEPENDS=	gsed:${PORTSDIR}/textproc/gsed
-NLS_USES=		gettext
+NLS_USES=		gettext perl5
+NLS_USE=		perl5=build
 NLS_LDFLAGS=		-lintl
 
 post-install:

Modified: head/games/cuyo/files/patch-po__Makefile.in
==============================================================================
--- head/games/cuyo/files/patch-po__Makefile.in	Mon Apr 20 14:02:03 2015	(r384361)
+++ head/games/cuyo/files/patch-po__Makefile.in	Mon Apr 20 14:09:20 2015	(r384362)
@@ -1,15 +1,18 @@
---- po/Makefile.in.orig
+--- po/Makefile.in.orig	2014-10-25 08:21:28 UTC
 +++ po/Makefile.in
-@@ -410,7 +410,7 @@
+@@ -410,9 +410,9 @@ uninstall-local-yes:
  $(DOMAIN).pot: $(pot_sources) pot.sed
  	rm -rf data
  	mkdir data
 -	cd ../data && make used_levels
 +	cd ../data && $(MAKE) used_levels
  	for ldfile in $$(cat ../data/used_levels) ; do \
- 	  ./cual2fakec ../data/$$ldfile > data/$$ldfile ; \
+-	  ./cual2fakec ../data/$$ldfile > data/$$ldfile ; \
++	  perl ./cual2fakec ../data/$$ldfile > data/$$ldfile ; \
  	done
-@@ -426,7 +426,7 @@
+ 	rm -rf src
+ 	mkdir src
+@@ -426,7 +426,7 @@ $(DOMAIN).pot: $(pot_sources) pot.sed
  	    --msgid-bugs-address=cuyo-devel@nongnu.org \
  	    -o - \
  	    src/* data/* \



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