summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-08-07 10:14:40 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-08-07 10:14:40 +0000
commit326c4f3af483b6d61ee1d51d8ee5576c478d6ee3 (patch)
tree3a8de14ad7e5d80fe6803339f385fb6e0d4cb59a /graphics
parent-Force commit to note the port was repocopied to japanese/lookup-emacs21 (diff)
- Unbreak with gcc 4.2
- Add CPAN mirrors
Notes
Notes: svn path=/head/; revision=197275
Diffstat (limited to 'graphics')
-rw-r--r--graphics/IPA/Makefile13
1 files changed, 5 insertions, 8 deletions
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 <bsd.port.pre.mk>
-
-.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 <bsd.port.post.mk>
+.include <bsd.port.mk>