- unbreak with newer scons (breakage spotted by naddy@)

- regen PLIST while here

maintainer timeout
This commit is contained in:
ajacoutot 2009-04-04 14:53:38 +00:00
parent e71b604a5c
commit 002f3b22cf
3 changed files with 21 additions and 4 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.4 2007/12/09 22:37:30 simon Exp $
# $OpenBSD: Makefile,v 1.5 2009/04/04 14:53:38 ajacoutot Exp $
COMMENT= economic and military simulation game
DISTNAME= widelands-build-11-source
PKGNAME= widelands-0.11p1
PKGNAME= widelands-0.11p2
CATEGORIES= games
EXTRACT_SUFX= .tar.bz2

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-SConstruct,v 1.1 2009/04/04 14:53:38 ajacoutot Exp $
Needed with newer scons to avoid the following error:
scons: *** [installtarget] AttributeError : 'NoneType' object has no attribute 'genstring'
Should not be needed when widelands gets updated.
--- SConstruct.orig Sat Apr 4 16:35:45 2009
+++ SConstruct Sat Apr 4 16:35:55 2009
@@ -305,7 +305,6 @@ instadd(env, 'widelands', filetype='binary')
install=env.Install('installtarget', 'build-widelands.sh') # the second argument is a (neccessary) dummy
Alias('install', install)
AlwaysBuild(install)
-env.AddPreAction(install, Action(buildlocale))
uninstall=env.Uninstall('uninstalltarget', 'build-widelands.sh') # the second argument is a (neccessary) dummy
Alias('uninstall', uninstall)

View File

@ -1,5 +1,5 @@
@comment $OpenBSD: PLIST,v 1.2 2007/10/03 13:21:20 steven Exp $
bin/widelands
@comment $OpenBSD: PLIST,v 1.3 2009/04/04 14:53:38 ajacoutot Exp $
@bin bin/widelands
share/locale/cz_CZ/
share/locale/cz_CZ/LC_MESSAGES/
share/locale/cz_CZ/LC_MESSAGES/campaigns/