aboutsummaryrefslogtreecommitdiff
path: root/science/peekabot/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2010-04-07 02:57:47 +0000
committerRong-En Fan <rafan@FreeBSD.org>2010-04-07 02:57:47 +0000
commitffd34867196e6207b57d78f84b25ad957ee3956f (patch)
tree4961a0b44ba949c893d14355c9bd880504dab663 /science/peekabot/Makefile
parente97e3e17525a6d7fcd4de496782e4df11495c90c (diff)
Notes
Diffstat (limited to 'science/peekabot/Makefile')
-rw-r--r--science/peekabot/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/science/peekabot/Makefile b/science/peekabot/Makefile
index a3a1c715a283..e3afbe7bcf66 100644
--- a/science/peekabot/Makefile
+++ b/science/peekabot/Makefile
@@ -7,7 +7,7 @@
PORTNAME= peekabot
PORTVERSION= 0.7.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= science
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.7.x/ \
http://distfiles.officialunix.com/
@@ -25,10 +25,15 @@ CONFIGURE_ENV= LDFLAGS="`fltk-config --ldflags`" \
USE_LDCONFIG= yes
USE_BZIP2= yes
USE_GMAKE= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700042
USE_GCC= 4.2+
+.endif
post-patch:
${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
${WRKSRC}/src/3rdparty/png++/io_base.hpp
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>