diff options
author | asau <asau@pkgsrc.org> | 2010-12-24 06:33:57 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2010-12-24 06:33:57 +0000 |
commit | 336a5d517200ada5c93ef5c4a87ba20c2bd62398 (patch) | |
tree | 77dece6cd5361a073250159c0a36d24c8925c2cb /databases/postgresql90-server | |
parent | 12c85da9aba5a9ff1549b398b83e3df8a52090c7 (diff) | |
download | pkgsrc-336a5d517200ada5c93ef5c4a87ba20c2bd62398.tar.gz |
Make PG_SUBPREFIX work: override RCD_SCRIPTS_EXAMPLEDIR to follow the setting.
Diffstat (limited to 'databases/postgresql90-server')
-rw-r--r-- | databases/postgresql90-server/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/postgresql90-server/Makefile b/databases/postgresql90-server/Makefile index 7503f0d5061..284e81a473d 100644 --- a/databases/postgresql90-server/Makefile +++ b/databases/postgresql90-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2010/12/19 09:53:29 adam Exp $ +# $NetBSD: Makefile,v 1.7 2010/12/24 06:33:57 asau Exp $ PKGNAME= ${DISTNAME:C/-/90-server-/} COMMENT= PostgreSQL database server programs @@ -81,3 +81,9 @@ post-wrapper: .endif .include "../../mk/bsd.pkg.mk" + +# Because RCD_SCRIPTS_EXAMPLEDIR isn't configurable (yet?), +# we override it here: +.if !empty(PG_SUBPREFIX) +RCD_SCRIPTS_EXAMPLEDIR:= $(PG_SUBPREFIX:/=)/$(RCD_SCRIPTS_EXAMPLEDIR) +.endif |