Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 130044 Details for
Bug 159026
dev-db/myodbc-3.51.12 - pkg_config creates empty odbc.ini and odbcinst.ini
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
diff to the actual ebuild
diff (text/plain), 1.79 KB, created by
GNUtoo
on 2007-09-04 22:10:22 UTC
(
hide
)
Description:
diff to the actual ebuild
Filename:
MIME Type:
Creator:
GNUtoo
Created:
2007-09-04 22:10:22 UTC
Size:
1.79 KB
patch
obsolete
>--- /usr/portage/dev-db/myodbc/myodbc-3.51.12.ebuild 2007-07-02 04:37:06.000000000 +0200 >+++ /usr/overlay/dev-db/myodbc/myodbc-3.51.12.ebuild 2007-09-05 01:14:08.000000000 +0200 >@@ -15,7 +15,7 @@ > RDEPEND=">=virtual/mysql-4.0 dev-db/unixODBC sys-devel/m4" > # perl is required for building docs > DEPEND="${RDEPEND} doc? ( dev-lang/perl )" >-S=${WORKDIR}/${MY_P} >+S="${WORKDIR}/${MY_P}" > > src_compile() { > local myconf="--enable-static" >@@ -48,10 +48,15 @@ > src_install() { > into /usr > einstall \ >- libexecdir=${D}/usr/sbin \ >- sysconfdir=${D}/etc/myodbc \ >- localstatedir=${D}/var/lib/myodbc >+ libexecdir="${D}/usr/sbin" \ >+ sysconfdir="${D}/etc/myodbc" \ >+ localstatedir="${D}/var/lib/myodbc" > dodoc INSTALL RELEASE-NOTES README >+ dodir /usr/share/${P} >+ insinto /usr/share/${P}/ >+ doins "${FILESDIR}/odbc.ini.m4" "${FILESDIR}/odbcinst.ini.m4" >+ >+ > } > > pkg_config() { >@@ -60,14 +65,14 @@ > > for i in odbc.ini odbcinst.ini; do > einfo "Building $i" >- /usr/bin/m4 -D__PN__=${PN} -D__PF__=${PF} ${FILESDIR}/${i}.m4 >${T}/${i} >+ /usr/bin/m4 -D__PN__=${PN} -D__PF__=${PF} /usr/share/${P}/${i}.m4 >"${T}/${i}" > done; > > local msg='MySQL ODBC driver' > local drivers=$(/usr/bin/odbcinst -q -d) > if echo $drivers | grep -vq "^\[${PN}\]$" ; then > ebegin "Installing ${msg}" >- /usr/bin/odbcinst -i -d -f ${T}/odbcinst.ini >+ /usr/bin/odbcinst -i -d -f "${T}/odbcinst.ini" > rc=$? > eend $rc > [ $rc -ne 0 ] && die >@@ -79,7 +84,7 @@ > msg='sample MySQL ODBC DSN' > if echo $sources | grep -vq "^\[${PN}-test\]$"; then > ebegin "Installing ${msg}" >- /usr/bin/odbcinst -i -s -l -f ${T}/odbc.ini >+ /usr/bin/odbcinst -i -s -l -f "${T}/odbc.ini" > rc=$? > eend $rc > [ $rc -ne 0 ] && die >@@ -93,3 +98,4 @@ > elog "to configure the MySQL ODBC drivers and sources:" > elog "emerge --config =${CATEGORY}/${PF}" > } >+
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 159026
: 130044