From 1196326a1dc93a971601e7fac5a8c67954434a4f Mon Sep 17 00:00:00 2001 From: fjoe Date: Tue, 7 Nov 2006 15:27:36 +0000 Subject: Do not call ${CHOWN} if INSTALL_AS_USER is set. --- databases/unixODBC/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'databases') 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 -- cgit