-
-
Save benburkert/1137917 to your computer and use it in GitHub Desktop.
homebrew formula to get dpkg working on a mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Dpkg <Formula | |
url 'https://launchpad.net/debian/+archive/primary/+files/dpkg_1.16.0.3.tar.bz2' | |
homepage 'http://en.wikipedia.org/wiki/Dpkg' | |
md5 '0266b06ef9da8278cea008d21e17e5f6' | |
depends_on 'gnu-tar' | |
def patches | |
DATA | |
end | |
def install | |
system "./configure", "--disable-dependency-tracking", | |
"--prefix=#{prefix}", | |
"--disable-compiler-warnings", | |
"--disable-linker-optimisations", | |
"--disable-compiler-optimisations", | |
"--without-start-stop-daemon" | |
system "make install" | |
end | |
end | |
__END__ | |
diff --git a/configure b/configure | |
index 7785655..98ddc71 100755 | |
--- a/configure | |
+++ b/configure | |
@@ -8231,9 +8231,7 @@ else | |
$as_echo "no" >&6; } | |
fi | |
-PERL_LIBDIR=$($PERL -MConfig -e 'my $r = $Config{vendorlibexp}; | |
- $r =~ s/$Config{vendorprefixexp}/\$(prefix)/; | |
- print $r') | |
+PERL_LIBDIR="/System/Library/Perl/5.12" | |
for ac_prog in pod2man | |
do |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment