Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2014 15:14:27 +0000 (UTC)
From:      Steven Kreuzer <skreuzer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350979 - in head/security/p5-Crypt-Rabbit: . files
Message-ID:  <201404111514.s3BFERdu097850@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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