openbsd-ports/games/teeworlds/patches/patch-default_bam
ajacoutot 914bdec8dd - update to teeworlds-0.5.1
from Jonathan Armani (maintainer)
2009-04-05 16:59:40 +00:00

22 lines
661 B
Plaintext

$OpenBSD: patch-default_bam,v 1.2 2009/04/05 16:59:40 ajacoutot Exp $
--- default.bam.orig Thu Mar 5 11:41:17 2009
+++ default.bam Thu Mar 5 11:41:53 2009
@@ -15,7 +15,7 @@ function Script(name)
if family == "windows" then
return str_replace(name, "/", "\\")
end
- return "python " .. name
+ return "${MODPY_BIN} " .. name
end
function CHash(output, ...)
@@ -128,7 +128,7 @@ function build(settings)
settings.link.frameworks:Add("Carbon")
settings.link.frameworks:Add("AppKit")
else
- settings.link.libs:Add("pthread")
+ settings.link.flags:Add("-pthread")
end
elseif family == "windows" then
settings.link.libs:Add("gdi32")