svn commit: r384362 - in head/games/cuyo: . files

Mathieu Arnold mat at FreeBSD.org
Mon Apr 20 14:09:21 UTC 2015


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 at nongnu.org \
  	    -o - \
  	    src/* data/* \


More information about the svn-ports-all mailing list