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 | d4f28540427d6bdee2f3697ac568c44f6e9c60ee (patch) | |
tree | 77dece6cd5361a073250159c0a36d24c8925c2cb /databases/postgresql90-server | |
parent | e2ddba2c4a58b9d15450220f3756d72101aa71ea (diff) | |
download | pkgsrc-d4f28540427d6bdee2f3697ac568c44f6e9c60ee.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 |