svn commit: r350979 - in head/security/p5-Crypt-Rabbit: . files

Steven Kreuzer skreuzer at FreeBSD.org
Fri Apr 11 15:14:28 UTC 2014


Author: skreuzer
Date: Fri Apr 11 15:14:27 2014
New Revision: 350979
URL: http://svnweb.freebsd.org/changeset/ports/350979
QAT: https://qat.redports.org/buildarchive/r350979/

Log:
  Instead of hardcoding the flags passed to OPTIMIZE, replace it
  with the value of CFLAGS

Deleted:
  head/security/p5-Crypt-Rabbit/files/
Modified:
  head/security/p5-Crypt-Rabbit/Makefile

Modified: head/security/p5-Crypt-Rabbit/Makefile
==============================================================================
--- head/security/p5-Crypt-Rabbit/Makefile	Fri Apr 11 15:12:11 2014	(r350978)
+++ head/security/p5-Crypt-Rabbit/Makefile	Fri Apr 11 15:14:27 2014	(r350979)
@@ -15,4 +15,7 @@ LICENSE=	GPLv2
 USES=		perl5
 USE_PERL5=	configure
 
+post-patch:
+	${REINPLACE_CMD} -i '' -e '/OPTIMIZE/s/=>.*/=> "${CFLAGS}",/g' ${WRKSRC}/Makefile.PL
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list