From 0f9d45de7306a169c1625c18f79edc932ba46066 Mon Sep 17 00:00:00 2001 From: Max Khon Date: Tue, 7 Nov 2006 15:27:36 +0000 Subject: [PATCH] Do not call ${CHOWN} if INSTALL_AS_USER is set. --- databases/unixODBC/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/databases/unixODBC/Makefile b/databases/unixODBC/Makefile index ea3fd158126e..275a4a3d4af8 100644 --- a/databases/unixODBC/Makefile +++ b/databases/unixODBC/Makefile @@ -48,7 +48,9 @@ post-install: @${MKDIR} ${DOCSDIR} ${TAR} -C ${WRKSRC}/doc --exclude '*Makefile*' -cf - . \ | ${TAR} -C ${DOCSDIR} --unlink -xf - +.if !defined(INSTALL_AS_USER) @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} .endif +.endif .include