View | Details | Raw Unified | Return to bug 214523
Collapse All | Expand All

(-)devel/msgpack/Makefile (-11 / +7 lines)
Lines 10-38 COMMENT= MessagePack implementation for C and C++ Link Here
10
10
11
LICENSE=	APACHE20
11
LICENSE=	APACHE20
12
12
13
TEST_DEPENDS=	googletest>0:devel/googletest
14
13
USE_GITHUB=	yes
15
USE_GITHUB=	yes
14
GH_PROJECT=	msgpack-c
16
GH_PROJECT=	msgpack-c
15
17
16
USES=		libtool:build autoreconf:build pathfix
18
USES=		autoreconf:build libtool:build localbase pathfix
17
18
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
INSTALL_TARGET=	install-strip
21
TEST_TARGET=	check
19
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
20
23
21
.include <bsd.port.pre.mk>
24
.include <bsd.port.options.mk>
22
25
23
.if ${ARCH} == "sparc64"
26
.if ${ARCH} == "sparc64"
24
# required for __sync _* atomic operations on sparc
27
# required for __sync _* atomic operations on sparc
25
USE_GCC=	yes
28
USE_GCC=	yes
26
.endif
29
.endif
27
30
28
.if ${ARCH} == "i386"
29
# Mayby not working on i386/i486/i586...
30
CONFIGURE_ARGS=	CFLAGS="${CFLAGS} -march=i686" CXXFLAGS="${CXXFLAGS} -march=i686"
31
.endif
32
33
pre-configure:
31
pre-configure:
34
	cd ${WRKSRC} && ./bootstrap
32
	cd ${WRKSRC} && ./bootstrap
35
post-stage:
36
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmsgpackc.so.2.0.0
37
33
38
.include <bsd.port.post.mk>
34
.include <bsd.port.mk>

Return to bug 214523