aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravilla <avilla@FreeBSD.org>2010-08-31 16:07:10 +0800
committeravilla <avilla@FreeBSD.org>2010-08-31 16:07:10 +0800
commitd095919e7a2dd1a447928733ab6794d6a6ed8dea (patch)
tree2257fcaca24594a0d7dbfc8b97c9811d44ae1c8a
parent8543d7e2bca10b745d6369643912fa1a15bb016a (diff)
downloadfreebsd-ports-gnome-d095919e7a2dd1a447928733ab6794d6a6ed8dea.tar.gz
freebsd-ports-gnome-d095919e7a2dd1a447928733ab6794d6a6ed8dea.tar.zst
freebsd-ports-gnome-d095919e7a2dd1a447928733ab6794d6a6ed8dea.zip
- Fix build on 6.X amd64 after the opencv upgrade.
Approved by: Jason E. Hale <bsdkaffee@gmail.com> (maintainer), tabthorpe (mentor, implicit)
-rw-r--r--graphics/frei0r/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/frei0r/Makefile b/graphics/frei0r/Makefile
index a59d000dd7ef..4b11ff4062c0 100644
--- a/graphics/frei0r/Makefile
+++ b/graphics/frei0r/Makefile
@@ -23,4 +23,10 @@ GNU_CONFIGURE= yes
USE_GNOME= pkgconfig
MAKE_JOBS_SAFE= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+USE_GCC= 4.2+
+.endif
+
+.include <bsd.port.post.mk>