aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/IPA
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-08-07 18:14:40 +0800
committersat <sat@FreeBSD.org>2007-08-07 18:14:40 +0800
commit30998a5b5a1c524fe018a83d9090dc4a47fabbbe (patch)
tree7bad4349bab7e7c8fa381927262f6c37b8c6ba03 /graphics/IPA
parenta09c2a056de22ebb5ddaeb5243a0c8a5f16652b8 (diff)
downloadfreebsd-ports-gnome-30998a5b5a1c524fe018a83d9090dc4a47fabbbe.tar.gz
freebsd-ports-gnome-30998a5b5a1c524fe018a83d9090dc4a47fabbbe.tar.zst
freebsd-ports-gnome-30998a5b5a1c524fe018a83d9090dc4a47fabbbe.zip
- Unbreak with gcc 4.2
- Add CPAN mirrors
Diffstat (limited to 'graphics/IPA')
-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>