diff options
| author | Martin Kühl | 2010-07-13 03:00:51 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-20 07:16:36 -0700 |
| commit | cad27c4a2bc444c21b6d74e10af3a31145dc6318 (patch) | |
| tree | 98e83d455a83a4a96ff30256ab688b45e71f7bde /Library/Formula/rxvt-unicode.rb | |
| parent | 5b239d10196be291ed2dedae0d41a1df8cbf11a8 (diff) | |
| download | homebrew-cad27c4a2bc444c21b6d74e10af3a31145dc6318.tar.bz2 | |
Enable embedded perl in urxvt.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/rxvt-unicode.rb')
| -rw-r--r-- | Library/Formula/rxvt-unicode.rb | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/Library/Formula/rxvt-unicode.rb b/Library/Formula/rxvt-unicode.rb index bf7d5199d..ca2c7aef9 100644 --- a/Library/Formula/rxvt-unicode.rb +++ b/Library/Formula/rxvt-unicode.rb @@ -9,14 +9,14 @@ class RxvtUnicode < Formula def patches # Add 256 color support - {:p1 => "doc/urxvt-8.2-256color.patch"} + {:p1 => ["doc/urxvt-8.2-256color.patch", DATA]} end def install system "./configure", "--prefix=#{prefix}", "--disable-afterimage", - "--disable-perl", + "--enable-perl", "--enable-256-color", "--with-term=rxvt-256color", "--disable-dependency-tracking" @@ -27,8 +27,34 @@ class RxvtUnicode < Formula system "make install" end - + def caveats "This software runs under X11." end end + +__END__ +--- a/configure 2009-12-30 07:13:23.000000000 +0100 ++++ b/configure 2010-07-12 20:36:58.000000000 +0200 +@@ -11810,8 +11810,8 @@ + + save_CXXFLAGS="$CXXFLAGS" + save_LIBS="$LIBS" +- CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`" +- LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" ++ CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts|sed -E 's/ -arch [^ ]+//g'`" ++ LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts|sed -E 's/ -arch [^ ]+//g'`" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -11874,8 +11874,8 @@ + + IF_PERL= + PERL_O=rxvtperl.o +- PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" +- PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" ++ PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts|sed -E 's/ -arch [^ ]+//g'`" ++ PERLLIB="`$PERL -MExtUtils::Embed -e ldopts|sed -E 's/ -arch [^ ]+//g'`" + PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" + else + { { echo "$as_me:$LINENO: error: no, unable to link" >&5 |
