Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 401842 Details for
Bug 81588
ebuild for Firebird open source ODBC driver
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
odbcfb-2.0.3.154 ebuild
odbcfb-2.0.3.154.ebuild (text/plain), 1.87 KB, created by
William L. Thomson Jr.
on 2015-04-22 23:07:33 UTC
(
hide
)
Description:
odbcfb-2.0.3.154 ebuild
Filename:
MIME Type:
Creator:
William L. Thomson Jr.
Created:
2015-04-22 23:07:33 UTC
Size:
1.87 KB
patch
obsolete
># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >EAPI=5 >inherit eutils versionator autotools flag-o-matic > >MY_PV="$(get_version_component_range 1-3)" >MY_PN="OdbcJdbc" >MY_P="${MY_PN}-src-${PV}" >DESCRIPTION="ODBC driver for Firebird RDBMS" >HOMEPAGE="http://firebirdsql.org/index.php?op=files&id=odbc" >SRC_URI="mirror://sourceforge/project/firebird/firebird-ODBC-driver/${MY_PV}-Release/${MY_P}.tar.gz" >LICENSE="IDPL" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="debug doc hardened" >RDEPEND="dev-db/firebird > dev-db/unixODBC" >S="${WORKDIR}/${MY_PN}" > >src_prepare() { > cd "${S}/Builds/Gcc.lin/" > mv makefile.linux Makefile > sed -i -e "s|#FIREBIRD=/usr/lib64/firebird|FIREBIRD=/usr|" \ > -e "s|-I/usr/include/odbc||" \ > -e 's|-I$(FBINCDIR) $(INCLUDEDIR)|-I$(FBINCDIR)|' \ > -e 's|COMPFLAGS = -g -w -D_REENTRANT -D_PTHREADS -DEXTERNAL -D$(ODBCMANAGER) $(INCLUDEDIR)|COMPFLAGS = -w ${CXXFLAGS}|' \ > -e "s|COMPFLAGS := -fPIC -m64|COMPFLAGS := -fPIC|" \ > -e "s|LINKFLAGS = -shared -m64|LINKFLAGS = -shared|" \ > -e "s|COMPFLAGS := -m32||" \ > -e "s|LINKFLAGS = -shared -m32|LINKFLAGS = -shared|" \ > Makefile || die "Fixing Makefile via sed failed" > > # code needs to be fixed upstream, temp hack > use hardened && sed -i -e "s|CXXFLAGS}|CXXFLAGS} -fpermissive|" \ > Makefile || die "Fixing Makefile via sed failed" > append-flags -fPIC >} > >src_compile() { > cd "${S}/Builds/Gcc.lin/" > emake -j1 >} > >src_install() { > cd "${S}" > dolib.so Builds/Gcc.lin/Release_${ARCH}/libOdbcFb.so > > local odbcinst="${ROOT}/etc/unixODBC/odbcinst.ini" > > insinto /etc/unixODBC/ > if [ -e "${odbcinst}"} ]; then > if [ -n $(grep libOdbcFb.so "${odbcinst}") ]; then > cp "${odbcinst}" ./ > cat ${FILESDIR}/${PN}.ini >> odbcinst.ini > doins odbcinst.ini > fi > else > newins ${FILESDIR}/${PN}.ini odbcinst.ini > fi > > if use doc; then > dodoc Install/Linux/*.ini > dodoc Install/Linux/*.txt > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 81588
:
401842
|
401844