blob: 8cf2833441bda9cbfcd99c8b3b189c97c7d531b3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# ex:ts=8
# Ports collection makefile for: jakelib2
# Date created: Oct 23, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= jakelib2
PORTVERSION= 2.0.0.s
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.jakelib.org/lib/jakelib2/download/
DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
COMMENT= A cross platform C++ class library with a Java-like API
LIB_DEPENDS= gc.1:${PORTSDIR}/devel/boehm-gc
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-debug
USE_LDCONFIG= yes
INFO= jakelib2
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Broken with gcc 4.2
.endif
post-patch:
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
.include <bsd.port.post.mk>
|