diff options
author | jlam <jlam@pkgsrc.org> | 2005-08-21 01:21:23 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-08-21 01:21:23 +0000 |
commit | 8acf4c4a5957cb51905f21995d23f52159e341af (patch) | |
tree | 66c0a01d6bfb381504f1618484800eba65d3849a /databases/postgresql80-client | |
parent | d05c8adca88b710cfa5fc3d97c8c3f989d0600ef (diff) | |
download | pkgsrc-8acf4c4a5957cb51905f21995d23f52159e341af.tar.gz |
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 (limited to 'databases/postgresql80-client')
-rw-r--r-- | databases/postgresql80-client/Makefile | 6 | ||||
-rw-r--r-- | databases/postgresql80-client/PLIST | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/databases/postgresql80-client/Makefile b/databases/postgresql80-client/Makefile index ade0c98315a..717dccd4fbb 100644 --- a/databases/postgresql80-client/Makefile +++ b/databases/postgresql80-client/Makefile @@ -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 @@ USE_PKGINSTALL= yes 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 --git a/databases/postgresql80-client/PLIST b/databases/postgresql80-client/PLIST index f4232fd264d..11b8b33df0b 100644 --- a/databases/postgresql80-client/PLIST +++ b/databases/postgresql80-client/PLIST @@ -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 @@ ${PG_SUBPREFIX}share/postgresql/psqlrc.sample @dirrm ${PG_SUBPREFIX}include/postgresql/informix @dirrm ${PG_SUBPREFIX}include/postgresql @dirrm ${PG_SUBPREFIX}include/libpq +${PG_DIRRM_SUBPREFIX} |