freebsd-ports/devel/msgpack/Makefile
Gerald Pfeifer 41e60477bd Replace USE_GCC=4.6+ and USE_GCC=4.4+ by USE_GCC=yes.
Right now this is a noop in the former case and a noop in the latter
case unless lang/gcc44 has been installed explicitly.

This puts a bit more emphasis on standardizing on a canonical version
"current" GCC and makes it easier to update that canonical version
by changing the default in Mk/bsd.gcc.mk and updating the lang/gcc port.

That is, USE_GCC=yes means "use a decent/modern version of GCC" without
having to worry about details.

Approved by:	portmgr (bdrewery)
2013-08-17 16:27:24 +00:00

33 lines
718 B
Makefile

# New ports collection makefile for: msgpack
# Date created: 18 Jan 2010
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= msgpack
PORTVERSION= 0.5.7
CATEGORIES= devel
MASTER_SITES= http://msgpack.org/releases/cpp/
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Binary-based efficient data interchange format focused on performance
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
# required for __sync _* atomic operations on sparc
USE_GCC= yes
.else
USE_GCC= 4.2+
.endif
.if ${ARCH} == "i386"
# Mayby not working on i386/i486/i586...
CONFIGURE_ARGS= CFLAGS="${CFLAGS} -march=i686" CXXFLAGS="${CXXFLAGS} -march=i686"
.endif
.include <bsd.port.post.mk>