1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00
freebsd-ports/games/cuyo/files/patch-po__Makefile.in
Mathieu Arnold 7b8dc22129 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
2015-04-20 14:09:20 +00:00

24 lines
713 B
Plaintext

--- po/Makefile.in.orig 2014-10-25 08:21:28 UTC
+++ po/Makefile.in
@@ -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 ; \
+ perl ./cual2fakec ../data/$$ldfile > data/$$ldfile ; \
done
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/* \
- | sed -f pot.sed > cuyo.pot
+ | gsed -f pot.sed > cuyo.pot
%.mo: %.po
$(MSGFMT) -c -o t-$*.mo $*.po && mv t-$*.mo $*.mo