Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 2014 14:21:07 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r366406 - head/mail/squirrelmail
Message-ID:  <201408281421.s7SEL7Hf071783@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Thu Aug 28 14:21:06 2014
New Revision: 366406
URL: http://svnweb.freebsd.org/changeset/ports/366406
QAT: https://qat.redports.org/buildarchive/r366406/

Log:
  Fix staging errors that broke all plugins in ports, but worked in pkg.

Modified:
  head/mail/squirrelmail/bsd.squirrelmail.mk

Modified: head/mail/squirrelmail/bsd.squirrelmail.mk
==============================================================================
--- head/mail/squirrelmail/bsd.squirrelmail.mk	Thu Aug 28 14:07:07 2014	(r366405)
+++ head/mail/squirrelmail/bsd.squirrelmail.mk	Thu Aug 28 14:21:06 2014	(r366406)
@@ -91,20 +91,20 @@ _SMSRCDIR?=	${SQUIRREL_PLUGIN_NAME}
 
 .if !target(do-install)
 do-install:
-	cd ${WRKSRC}/${_SMSRCDIR} && ${FIND} -d . | \
+	(cd ${WRKSRC}/${_SMSRCDIR} && ${FIND} -d . | \
 		${CPIO} -dump ${STAGEDIR}${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} >/dev/null 2>&1 && \
 	${FIND} ${STAGEDIR}${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} \
 		-type d -exec chmod 755 {} \; && \
 	${FIND} ${STAGEDIR}${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} \
-		-type f -exec chmod 644 {} \;
+		-type f -exec chmod 644 {} \;)
 .endif
 
 .if !target(post-install)
 post-install:
 .ifndef WITHOUT_ACTIVATE
-.if exists( ${STAGEDIR}${SQUIRRELDIR}/config/config.php )
+.if exists(${SQUIRRELDIR}/config/config.php)
 	@${ECHO_CMD} "Activating plug-in in SquirrelMail"
-	${STAGEDIR}${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}
+	${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}
 .endif
 .else
 	@${ECHO_CMD} "To activate the plug-in in SquirrelMail use"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408281421.s7SEL7Hf071783>