svn commit: r341014 - head/security/sks
Johan van Selst
johans at FreeBSD.org
Sat Jan 25 12:10:59 UTC 2014
Author: johans
Date: Sat Jan 25 12:10:59 2014
New Revision: 341014
URL: http://svnweb.freebsd.org/changeset/ports/341014
QAT: https://qat.redports.org/buildarchive/r341014/
Log:
Respect CC and CFLAGS
Modified:
head/security/sks/Makefile
Modified: head/security/sks/Makefile
==============================================================================
--- head/security/sks/Makefile Sat Jan 25 12:04:25 2014 (r341013)
+++ head/security/sks/Makefile Sat Jan 25 12:10:59 2014 (r341014)
@@ -30,12 +30,16 @@ post-extract:
@${REINPLACE_CMD} 's/-ccopt -pg //' ${WRKSRC}/Makefile
@cd ${WRKSRC} && ${RM} -f .depend
+post-patch:
+ @${REINPLACE_CMD} '/^CC=/d; /^CFLAGS=/s/=/+=/' \
+ ${WRKSRC}/Makefile ${WRKSRC}/bdb/Makefile
+
pre-build:
@cd ${WRKSRC} && test -f .depend || ${GMAKE} dep
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- @cd ${WRKSRC} && ${INSTALL_DATA} BUGS README.md TODO UPGRADING \
+ cd ${WRKSRC} && ${INSTALL_DATA} BUGS README.md TODO UPGRADING \
${STAGEDIR}${DOCSDIR}
@cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} sks sks_add_mail
More information about the svn-ports-all
mailing list