diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2013-09-04 18:06:07 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2013-09-04 18:06:07 +0000 |
commit | 642be1b81d8342d3a3323f43bcf5a0bd87a5d363 (patch) | |
tree | f71b3671c7729b9cbc9368cea2f2fede7b20d5c8 /databases/ruby-sybct | |
parent | bcaced2c93b58d27ca266602f4049df6ba6becb3 (diff) |
Notes
Diffstat (limited to 'databases/ruby-sybct')
-rw-r--r-- | databases/ruby-sybct/Makefile | 1 | ||||
-rw-r--r-- | databases/ruby-sybct/files/patch-extconf.rb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/databases/ruby-sybct/Makefile b/databases/ruby-sybct/Makefile index beb4c3125abe..978cb5a43666 100644 --- a/databases/ruby-sybct/Makefile +++ b/databases/ruby-sybct/Makefile @@ -24,6 +24,7 @@ USES= iconv post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ + -e 's|%%ICONV_LIB%%|${ICONV_LIB}|' \ ${WRKSRC}/extconf.rb post-install: 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" |