Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38401 - wrong include path for postgresql in postfix-2.0.16-r1.ebuild
Summary: wrong include path for postgresql in postfix-2.0.16-r1.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Normal critical (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-16 07:08 UTC by David Westley
Modified: 2007-09-22 23:15 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Westley 2004-01-16 07:08:15 UTC
Patch against ebuild with cvs version 1.10

=============================================================================================================

--- /usr/portage/net-mail/postfix/postfix-2.0.16-r1.ebuild      2004-01-14 21:07:32.000000000 +0000
+++ /usr/local/portage/net-mail/postfix/postfix-2.0.16-r1.ebuild        2004-01-16 15:04:03.669999848 +0000
@@ -109,7 +109,7 @@
                mylibs="${mylibs} -lmysqlclient -lm -lz"
        fi
        if [ "`use postgres`" ] ; then
-               mycc="${mycc} -DHAS_PGSQL -I/usr/include/postgresql"
+               mycc="${mycc} -DHAS_PGSQL -I/usr/include/postgresql/pgsql"
                mylibs="${mylibs} -lpq"
        fi
        if [ "`use ssl`" ] ; then

=============================================================================================================
Comment 1 David Westley 2004-01-16 07:23:05 UTC
Just thought I should clarify that this is concerning postgresql-7.4.1-r1

The headers might well be in /usr/include/postgresql in an earlier version but they aren't with this version.
Comment 2 Max Kalika (RETIRED) gentoo-dev 2004-01-16 08:44:27 UTC
fixed in cvs.  give it a try please.