From 58c11ef9cb7d8e826486057632128300f0513ea3 Mon Sep 17 00:00:00 2001 From: Jason Helfman Date: Sun, 22 Sep 2013 06:48:45 +0000 Subject: - remove hardcoding of gcc PR: 182236 (based on) Submitted by: alexey@renatasystems.org ( maintainer ) --- mail/libspamtest/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mail/libspamtest') diff --git a/mail/libspamtest/Makefile b/mail/libspamtest/Makefile index cfff1555f052..d71844c1a982 100644 --- a/mail/libspamtest/Makefile +++ b/mail/libspamtest/Makefile @@ -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 -- cgit v1.2.3