po makefile in 0.8.4 syntactical errors? (fbsd 5.2.1)

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
tweek
Posts: 4
Joined: September 12th, 2004, 2:14 am
Location: Black Hawk, SD

po makefile in 0.8.4 syntactical errors? (fbsd 5.2.1)

Post by tweek »

Code: Select all

root@tweek:/home/tweek/wesnoth-0.8.4# cd po
root@tweek:/home/tweek/wesnoth-0.8.4/po# make
"Makefile", line 199: Missing dependency operator
"Makefile", line 204: Need an operator
make: fatal errors encountered -- cannot continue
any idea why? i'm using fbsd 5.2.1-current and cannot compile, make uninstall, or anything because of this. seems to be a syntactical error but since i've yet to complete my black belt in Makefile jujitsu i'm clueless.

here are the relevant lines:

Code: Select all

# This rule catch requests to rebuild po files whenever any pot file
# is more recent even if that pot file is not related, but only
# extract the textdomain, and use a recursive make call that will have
# stricter deps and will use lang as a rule stem
ifneq ($(NOGENERIC),1) // 199
%.po: *.pot
        @domain=`basename $@ | sed s,\.po,,`; \
        echo " make DOMAIN=$$domain NOGENERIC=1 $@"; \
        $(MAKE) DOMAIN=$$domain NOGENERIC=1 $@
endif // 204
of course, a fbsd 5.2.1 binary of 0.8.4 would suffice, if anyone has one :)
mezz

Post by mezz »

Use 'gmake' instead 'make' should work as I already have updated Wesnoth port in my local machine, but ports tree is freeze (a week left). I shall commit it in a week.
yann
Inactive Developer
Posts: 34
Joined: June 30th, 2004, 11:31 am

Post by yann »

It is possible that, while striving to get things work, I introduced gnu-isms in the Makefile. We may try to make things more portable, but I've learnt that the upcoming gettext 0.15 will provide support for multiple domains, but in a different way. So we might as well switch to this instead.
gettextization
french l10n team member
mezz

Post by mezz »

The gnu-isms in the Makefile is fine with me and even in FreeBSD. There are plenty of apps that required 'gmake' in the ports tree.
Post Reply