diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2015-07-18 18:15:17 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2015-07-18 18:15:17 +0000 |
commit | 28a76bdb9ba4cbb88a5a7d27a25373da98ba400d (patch) | |
tree | c81a2b41fdc209379188aef9e52dffd5af6d0961 /databases/ruby-qdbm/files/patch-depot-extconf.rb | |
parent | Per r390886 stop pulling unnecessary GTK+ deps in my ports (diff) |
- Take maintainership.
- Fix CFLAGS and LDFLAGS.
- Fix a possible library path confusion.
- Style clean-ups.
Notes
Notes:
svn path=/head/; revision=392440
Diffstat (limited to 'databases/ruby-qdbm/files/patch-depot-extconf.rb')
-rw-r--r-- | databases/ruby-qdbm/files/patch-depot-extconf.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/databases/ruby-qdbm/files/patch-depot-extconf.rb b/databases/ruby-qdbm/files/patch-depot-extconf.rb new file mode 100644 index 000000000000..38afaff4659d --- /dev/null +++ b/databases/ruby-qdbm/files/patch-depot-extconf.rb @@ -0,0 +1,23 @@ +--- depot/extconf.rb.orig 2006-01-17 08:26:49 UTC ++++ depot/extconf.rb +@@ -2,17 +2,15 @@ require 'mkmf' + + dir_config("depot") + +-home = ENV['HOME'] +-$CFLAGS = "-I. -I../.. -I#{home}/include -I/usr/local/include" +-$LDFLAGS = "-L../.. -L#{home}/lib -L/usr/local/lib" +-$LIBS = "-L../.. -L#{home}/lib -L/usr/local/lib" ++$CFLAGS = ENV['CFLAGS'] ++$LDFLAGS = ENV['LDFLAGS'] ++$LIBS = ENV['LIBS'] + + have_library("c", "main") + have_library("pthread", "main") + have_library("z", "main") + have_library("bz2", "main") + have_library("lzo2", "main") +-have_library("iconv", "main") + have_library("qdbm", "main") + + create_makefile("mod_depot") |