mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
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
This commit is contained in:
parent
8319f15154
commit
7b8dc22129
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384362
@ -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:
|
||||
|
@ -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/* \
|
||||
|
Loading…
Reference in New Issue
Block a user