svn commit: r327854 - head/mail/libspamtest

Jason Helfman jgh at FreeBSD.org
Sun Sep 22 06:48:45 UTC 2013


Author: jgh
Date: Sun Sep 22 06:48:45 2013
New Revision: 327854
URL: http://svnweb.freebsd.org/changeset/ports/327854

Log:
  - remove hardcoding of gcc
  
  PR:		182236 (based on)
  Submitted by:	alexey at renatasystems.org ( maintainer )

Modified:
  head/mail/libspamtest/Makefile

Modified: head/mail/libspamtest/Makefile
==============================================================================
--- head/mail/libspamtest/Makefile	Sun Sep 22 05:39:44 2013	(r327853)
+++ head/mail/libspamtest/Makefile	Sun Sep 22 06:48:45 2013	(r327854)
@@ -18,6 +18,11 @@ INCLUDES=	spamtest.h \
 		msgstore.h
 
 NO_STAGE=	yes
+
+post-patch-script:
+	@${REINPLACE_CMD} -e 's|gcc|${CC}|g' \
+		${WRKSRC}/${MAKEFILE}
+
 do-install:
 	${MKDIR} ${PREFIX}/ap-mailfilter3/lib ${PREFIX}/ap-mailfilter3/include
 	${INSTALL_DATA} ${LIBS:S,^,${WRKSRC}/,} ${PREFIX}/ap-mailfilter3/lib


More information about the svn-ports-all mailing list