Index: Makefile =================================================================== RCS file: /home/pcvs/ports/databases/ruby-sybct/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 30 Sep 2008 03:09:33 -0000 1.1 +++ Makefile 10 Feb 2009 07:50:23 -0000 @@ -16,7 +16,7 @@ MAINTAINER= ports@logvinov.com COMMENT= Ruby module for accessing Sybase databases -LIB_DEPENDS= tds.5:${PORTSDIR}/databases/freetds +LIB_DEPENDS= ct:${PORTSDIR}/databases/freetds USE_RUBY= yes USE_RUBY_EXTCONF= yes Index: files/patch-extconf.rb =================================================================== RCS file: /home/pcvs/ports/databases/ruby-sybct/files/patch-extconf.rb,v retrieving revision 1.1 diff -u -r1.1 patch-extconf.rb --- files/patch-extconf.rb 30 Sep 2008 03:09:33 -0000 1.1 +++ files/patch-extconf.rb 10 Feb 2009 07:50:23 -0000 @@ -11,7 +11,7 @@ + sybase = "/usr/local" + $CFLAGS = "-g -Wall -DFREETDS -I#{sybase}/include" + $LDFLAGS = " -L#{sybase}/lib " -+ $LOCAL_LIBS = "-lct -lsybdb -ltds -rdynamic -lm -liconv" ++ $LOCAL_LIBS = "-lct -lsybdb -rdynamic -lm -liconv" ### mac-osx-tiger + Free TDS (freetds-0.64 ) ################ # sybase = "/usr/local/freetds"