extension installation faillure using VPATH and MODULEDIR

From: Cédric Villemain <cedric(at)2ndquadrant(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: extension installation faillure using VPATH and MODULEDIR
Date: 2012-12-01 14:13:49
Message-ID: 201212011513.53770.cedric@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

the attached patch fix the extension installation using a VPATH when a
MODULEDIR is defined in the extension Makefile.

The current issue is that the sharedir/extension directory is not created if
MODULEDIR != 'extension' i.e. MODULEDIR is defined in the Makefile. Thus 'make
install' fail to copy the control file in an nonexistent directory.

Tested with debian extension packages.
--
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL: Support 24x7 - Développement, Expertise et Formation

Attachment Content-Type Size
0001-Fix-extension-install.patch text/x-patch 1015 bytes

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2012-12-01 17:44:12 Re: extension installation faillure using VPATH and MODULEDIR
Previous Message Jeff Davis 2012-12-01 01:51:02 Re: BUG #7716: Only owner can drop trigger?