1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/devel/msgpack/Makefile
Jun Kuriyama b5386249cd - Upgrade to 1.1.0.
PR:		ports/200789 (https://reviews.freebsd.org/D2782)
Submitted by:	swills
2015-07-27 14:42:32 +00:00

37 lines
664 B
Makefile

# $FreeBSD$
PORTNAME= msgpack
PORTVERSION= 1.1.0
DISTVERSIONPREFIX= cpp-
CATEGORIES= devel
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= MessagePack implementation for C and C++
LICENSE= APACHE20
USE_GITHUB= yes
GH_PROJECT= msgpack-c
USES= libtool:build autoreconf:build
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
# required for __sync _* atomic operations on sparc
USE_GCC= yes
.endif
.if ${ARCH} == "i386"
# Mayby not working on i386/i486/i586...
CONFIGURE_ARGS= CFLAGS="${CFLAGS} -march=i686" CXXFLAGS="${CXXFLAGS} -march=i686"
.endif
pre-configure:
cd ${WRKSRC} && ./bootstrap
.include <bsd.port.post.mk>