pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/postgresql80-client Don't misuse OWN_DIRS --...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b81b5745eab8
branches: trunk
changeset: 498364:b81b5745eab8
user: jlam <jlam%pkgsrc.org@localhost>
date: Sun Aug 21 01:21:23 2005 +0000
description:
Don't misuse OWN_DIRS -- if the PG_SUBPREFIX is non-empty, then we do
want to @dirrm that subdirectory, so add that line to the PLIST.
diffstat:
databases/postgresql80-client/Makefile | 6 ++++--
databases/postgresql80-client/PLIST | 3 ++-
2 files changed, 6 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r 8bd9d9f167bf -r b81b5745eab8 databases/postgresql80-client/Makefile
--- a/databases/postgresql80-client/Makefile Sun Aug 21 00:39:16 2005 +0000
+++ b/databases/postgresql80-client/Makefile Sun Aug 21 01:21:23 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/08/15 20:42:21 erh Exp $
+# $NetBSD: Makefile,v 1.8 2005/08/21 01:21:23 jlam Exp $
PKGNAME= postgresql80-client-${BASE_VERS}
PKGREVISION= 2
@@ -49,7 +49,9 @@
CONF_FILES+= ${PG_DATA_DIR}/${_file_}.sample ${PG_ETC_DIR}/${_file_}
.endfor
.if !empty(PG_SUBPREFIX)
-OWN_DIRS+= ${PG_PREFIX}
+PLIST_SUBST+= PG_DIRRM_SUBPREFIX="@dirrm ${PG_SUBPREFIX}"
+.else
+PLIST_SUBST+= PG_DIRRM_SUBPREFIX="@comment empty line"
.endif
# XXX work around core dumps with the native libedit
diff -r 8bd9d9f167bf -r b81b5745eab8 databases/postgresql80-client/PLIST
--- a/databases/postgresql80-client/PLIST Sun Aug 21 00:39:16 2005 +0000
+++ b/databases/postgresql80-client/PLIST Sun Aug 21 01:21:23 2005 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2005/08/05 19:43:45 jlam Exp $
+@comment $NetBSD: PLIST,v 1.6 2005/08/21 01:21:23 jlam Exp $
${PG_SUBPREFIX}bin/clusterdb
${PG_SUBPREFIX}bin/createdb
${PG_SUBPREFIX}bin/createlang
@@ -1368,3 +1368,4 @@
@dirrm ${PG_SUBPREFIX}include/postgresql/informix
@dirrm ${PG_SUBPREFIX}include/postgresql
@dirrm ${PG_SUBPREFIX}include/libpq
+${PG_DIRRM_SUBPREFIX}
Home |
Main Index |
Thread Index |
Old Index