Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jul 2014 17:23:16 +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: r362716 - head/news/crashmail
Message-ID:  <201407231723.s6NHNGCW074322@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Wed Jul 23 17:23:16 2014
New Revision: 362716
URL: http://svnweb.freebsd.org/changeset/ports/362716
QAT: https://qat.redports.org/buildarchive/r362716/

Log:
  Fix build without gcc.

Modified:
  head/news/crashmail/Makefile

Modified: head/news/crashmail/Makefile
==============================================================================
--- head/news/crashmail/Makefile	Wed Jul 23 17:16:53 2014	(r362715)
+++ head/news/crashmail/Makefile	Wed Jul 23 17:23:16 2014	(r362716)
@@ -19,8 +19,10 @@ USES=		gmake zip
 
 post-patch:
 	@${REINPLACE_CMD} \
-	  -e 's^"crashmail.prefs"^"${PREFIX}/etc/crashmail/crashmail.prefs"^' \
-	  ${WRKSRC}/src/oslib_linux/os_linux.h
+		-e 's^"crashmail.prefs"^"${PREFIX}/etc/crashmail/crashmail.prefs"^' \
+		${WRKSRC}/src/oslib_linux/os_linux.h
+	@${FIND} ${WRKSRC} -name 'Makefile*' | ${XARGS} ${REINPLACE_CMD} \
+		-e 's|gcc|${CC}|'
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/crashexport ${STAGEDIR}${PREFIX}/bin



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