Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3847 - FreeTDS, Tabular Data Stream library.
Summary: FreeTDS, Tabular Data Stream library.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-18 10:38 UTC by Jerry Haltom
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Created ebuild (freetds-0.53.ebuild,3.51 KB, text/plain)
2002-06-18 10:39 UTC, Jerry Haltom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jerry Haltom 2002-06-18 10:38:01 UTC
FreeTDS, a tabular datastream library.  My purpose is to let PHP connect to MS
SQL... but it can be used with other stuff such as perl/etc.  I just generted
this ebuild with mkebuild.  No time to polish it up.
Comment 1 Jerry Haltom 2002-06-18 10:39:06 UTC
Created attachment 1585 [details]
Created ebuild
Comment 2 SpanKY gentoo-dev 2002-06-21 15:16:34 UTC
a quick script to bring this guy down
D=/usr/portage/dev-db/freetds/
mkdir ${D}
cd ${D}
wget http://bugs.gentoo.org/showattachment.cgi?attach_id=1585
mv showattachment.cgi?attach_id=1585 freetds-0.53.ebuild
ebuild freetds-0.53.ebuild fetch digest

the ebuild is incomplete ... you need to edit it so it installs the tgz 
properly ...
in the src_compile() function, at the end of it, add these as the last 2 cmds

        mv ${S}/Makefile ${S}/Makefile.orig
        sed -e 's/^DEFDIR = /DEFDIR = $(DESTDIR)/' \
            -e 's/^ETC = /ETC = $(DESTDIR)/' \
            ${S}/Makefile.orig > ${S}/Makefile

ill post some comments later on how to make this guy work with php ...
Comment 3 Ryan Phillips (RETIRED) gentoo-dev 2002-07-09 14:00:58 UTC
any additional comments spanky?
Comment 4 SpanKY gentoo-dev 2002-07-09 17:02:58 UTC
heh i forgot about that
ill play with it at work tomorrow (where i use php + sql)

or you can just commit it ;)
Comment 5 Ryan Phillips (RETIRED) gentoo-dev 2002-07-15 23:36:56 UTC
committed