diff options
author | rafan <rafan@FreeBSD.org> | 2010-04-07 10:57:47 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2010-04-07 10:57:47 +0800 |
commit | abaf6ffa574afb99cf3cc4c4011ba348a098e948 (patch) | |
tree | 0664ffb1eb9d1623194881d686bd09ba9bd6c22c /science/peekabot | |
parent | 7d89a109060e818ecd4ab13f424fc873244384aa (diff) | |
download | freebsd-ports-gnome-abaf6ffa574afb99cf3cc4c4011ba348a098e948.tar.gz freebsd-ports-gnome-abaf6ffa574afb99cf3cc4c4011ba348a098e948.tar.zst freebsd-ports-gnome-abaf6ffa574afb99cf3cc4c4011ba348a098e948.zip |
- Requires GCC 4.x only if we are on 6.x
PR: ports/145255
Submitted by: Chris Petrik <chris at officialunix.com> (maintainer)
Diffstat (limited to 'science/peekabot')
-rw-r--r-- | science/peekabot/Makefile | 9 |
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> |