aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-09-01 08:02:59 +0800
committerlioux <lioux@FreeBSD.org>2005-09-01 08:02:59 +0800
commit9431262dd4c9d7fb49cd531ba4e5f4b340d4edeb (patch)
treef3fac1b7f0d223ab861508c0a2c7cda9f56e7e5f /mail
parent1efc178c4ec15e303a364c5dde8e5fffca78e7c1 (diff)
downloadfreebsd-ports-gnome-9431262dd4c9d7fb49cd531ba4e5f4b340d4edeb.tar.gz
freebsd-ports-gnome-9431262dd4c9d7fb49cd531ba4e5f4b340d4edeb.tar.zst
freebsd-ports-gnome-9431262dd4c9d7fb49cd531ba4e5f4b340d4edeb.zip
Fix build: USE_GCC=3.4+ on ${OSVERSION} < 500000 (c++ template
issues) Reported by: pointyhat (kris), Nicolas Rachinsky <nr@rachinsky.de>
Diffstat (limited to 'mail')
-rw-r--r--mail/normalizemime/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/normalizemime/Makefile b/mail/normalizemime/Makefile
index b7d56b7fb736..3d2c44d5fd1d 100644
--- a/mail/normalizemime/Makefile
+++ b/mail/normalizemime/Makefile
@@ -34,4 +34,10 @@ do-build:
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME:R} ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+USE_GCC=3.4+
+.endif
+
+.include <bsd.port.post.mk>