Date: Sat, 27 Jul 2013 10:39:01 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323777 - head/net-mgmt/netmagis-common Message-ID: <201307271039.r6RAd1wU037607@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Sat Jul 27 10:39:00 2013 New Revision: 323777 URL: http://svnweb.freebsd.org/changeset/ports/323777 Log: Attempt to fix inner makefiles so the port (and its slaves) are make jobs (-jX) safe. Reported by: pointyhat-west Modified: head/net-mgmt/netmagis-common/Makefile Modified: head/net-mgmt/netmagis-common/Makefile ============================================================================== --- head/net-mgmt/netmagis-common/Makefile Sat Jul 27 10:19:30 2013 (r323776) +++ head/net-mgmt/netmagis-common/Makefile Sat Jul 27 10:39:00 2013 (r323777) @@ -65,6 +65,13 @@ ALL_TARGET=nothing INSTALL_TARGET= install${PKGNAMESUFFIX} +# Change "cd foo; make" into "$(MAKE) -C foo" to unbreak parallel builds +post-patch: + @${FIND} ${WRKSRC} -type f -name Makefile -print0 | ${XARGS} -0 \ + ${REINPLACE_CMD} -E 's,cd(.+) (;|&&) make,$$(MAKE) -C\1,' + ${REINPLACE_CMD} -E 's,cd (.+) ; (ln -s en ),\2\1/,' \ + ${WRKSRC}/www/Makefile + .if !target(post-install) post-install: @if [ -f ${PKGMESSAGE} ] ; then ${CAT} ${PKGMESSAGE} ; fi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307271039.r6RAd1wU037607>