summaryrefslogtreecommitdiffstats
path: root/databases/ruby-qdbm/files/patch-depot-extconf.rb
blob: 38afaff4659d96b48e50ce8bc5de85404e4e84e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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")
OpenPOWER on IntegriCloud