From 326c4f3af483b6d61ee1d51d8ee5576c478d6ee3 Mon Sep 17 00:00:00 2001 From: Andrew Pantyukhin Date: Tue, 7 Aug 2007 10:14:40 +0000 Subject: - Unbreak with gcc 4.2 - Add CPAN mirrors --- graphics/IPA/Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'graphics/IPA') diff --git a/graphics/IPA/Makefile b/graphics/IPA/Makefile index 58049a01d2cf..07c400fc6fac 100644 --- a/graphics/IPA/Makefile +++ b/graphics/IPA/Makefile @@ -10,13 +10,13 @@ PORTNAME= IPA PORTVERSION= 1.03 PORTREVISION= 1 CATEGORIES= graphics -MASTER_SITES= http://www.prima.eu.org/IPA/ +MASTER_SITES= http://www.prima.eu.org/IPA/ CPAN/Prima/KARASIK MAINTAINER= ports@FreeBSD.org COMMENT= Image Processing Algorithms BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Prima.pm:${PORTSDIR}/x11-toolkits/p5-Prima -RUN_DEPENDS= ${BUILD_DEPENDS} +RUN_DEPENDS:= ${BUILD_DEPENDS} PERL_CONFIGURE= yes @@ -24,14 +24,11 @@ MAN1= iterm.1 MAN3= IPA.3 MANCOMPRESSED= yes -.include - -.if ${OSVERSION} >= 700042 -BROKEN= Broken with gcc 4.2 -.endif +post-patch: + @${GREP} -rl '^static SV' ${WRKSRC}|${XARGS} ${REINPLACE_CMD} -e '/^static SV/d' do-configure: @(cd ${WRKSRC} ; ${PERL} ./${CONFIGURE_SCRIPT}) @(cd ${WRKSRC} ; ${REINPLACE_CMD} -e 's,-o,-fPIC &, ; s|perl/man|man|' Makefile) -.include +.include -- cgit v1.2.3