- Requires GCC 4.x only if we are on 6.x

PR:		ports/145255
Submitted by:	Chris Petrik <chris at officialunix.com> (maintainer)
This commit is contained in:
Rong-En Fan 2010-04-07 02:57:47 +00:00
parent e97e3e1752
commit ffd3486719
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252358

View File

@ -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>