Permalink
Browse files

xmoto: replace ENV.x11 with depends_on :libpng

  • Loading branch information...
1 parent e884b12 commit 9c3e37e1d71503f531590b47906408696287d01a @mistydemeo mistydemeo committed Oct 14, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 xmoto.rb
View
@@ -14,6 +14,7 @@ class Xmoto < Formula
depends_on 'sdl_ttf'
depends_on 'lua'
depends_on 'ode'
+ depends_on :libpng
# Fixes compiling against libpng on Lion. See:
# http://todo.xmoto.tuxfamily.org/index.php?do=details&task_id=783
@@ -22,8 +23,6 @@ def patches
end
def install
- # The ENV.x11 picks up libpng and sets CFLAGS and LDFLAGS
- ENV.x11
system "./configure", "--prefix=#{prefix}",
"--disable-sdltest",
"--with-internal-xdg=1",

0 comments on commit 9c3e37e

Please sign in to comment.