aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-03-11 16:27:04 -0700
committerAdam Vandenberg2012-03-11 16:27:04 -0700
commit1e44c47e0b8ef94e406b0b87ec032a323faee68c (patch)
tree006068aea65ebdf4a00cb595b1d8a5bd587b7641 /Library
parent577dc54560c53cc86ba80010f142c63e8b2af295 (diff)
downloadhomebrew-1e44c47e0b8ef94e406b0b87ec032a323faee68c.tar.bz2
ushare: document patch
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ushare.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/ushare.rb b/Library/Formula/ushare.rb
index 0f422dae8..a8e319fdf 100644
--- a/Library/Formula/ushare.rb
+++ b/Library/Formula/ushare.rb
@@ -1,14 +1,15 @@
require 'formula'
class Ushare < Formula
- url 'http://ushare.geexbox.org/releases/ushare-1.1a.tar.bz2'
homepage 'http://ushare.geexbox.org/'
+ url 'http://ushare.geexbox.org/releases/ushare-1.1a.tar.bz2'
md5 '5bbcdbf1ff85a9710fa3d4e82ccaa251'
depends_on 'gettext'
depends_on 'libupnp'
depends_on 'libdlna'
+ # Correct "OPTFLAGS" to "CFLAGS"
def patches
{ :p0 =>
"https://trac.macports.org/export/89267/trunk/dports/net/ushare/files/patch-configure.diff"
@@ -16,7 +17,7 @@ class Ushare < Formula
end
def install
- # Need to explicitly add gettext here.
+ # Need to explicitly add intl and gettext here.
gettext = Formula.factory("gettext")
ENV.append 'LDFLAGS', "-lintl"
ENV.append 'CFLAGS', "-I#{gettext.include}"