summaryrefslogtreecommitdiff
path: root/databases/ruby-sybct/files/patch-extconf.rb
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2013-09-04 18:06:07 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2013-09-04 18:06:07 +0000
commit642be1b81d8342d3a3323f43bcf5a0bd87a5d363 (patch)
treef71b3671c7729b9cbc9368cea2f2fede7b20d5c8 /databases/ruby-sybct/files/patch-extconf.rb
parentDancer plugin which provides an easy way implement ExtDirect APIs. (diff)
- Make ports use the libc provided iconv implementation on 10-CURRENT
after r254273 - Fix a bunch of ports to properly work after this - Mark converters/libiconv as IGNORE for systems with iconv in libc Reviewed by: bapt Approved by: portmgr (bapt) Discussed with: bapt, bsam (who both contributed ideas and code)
Notes
Notes: svn path=/head/; revision=326307
Diffstat (limited to 'databases/ruby-sybct/files/patch-extconf.rb')
-rw-r--r--databases/ruby-sybct/files/patch-extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/ruby-sybct/files/patch-extconf.rb b/databases/ruby-sybct/files/patch-extconf.rb
index 1d86666b4c24..695628f04451 100644
--- a/databases/ruby-sybct/files/patch-extconf.rb
+++ b/databases/ruby-sybct/files/patch-extconf.rb
@@ -11,7 +11,7 @@
+ sybase = "%%LOCALBASE%%"
+ $CFLAGS = "-g -Wall -DFREETDS -I#{sybase}/include"
+ $LDFLAGS = " -L#{sybase}/lib "
-+ $LOCAL_LIBS = "-lct -lsybdb -ltds -rdynamic -lm -liconv"
++ $LOCAL_LIBS = "-lct -lsybdb -ltds -rdynamic -lm %%ICONV_LIB%%"
### mac-osx-tiger + Free TDS (freetds-0.64 ) ################
# sybase = "/usr/local/freetds"