aboutsummaryrefslogtreecommitdiffstats
path: root/lang/libjit/Makefile
blob: 6a0ff8b3dd537b2a7931c7e064817fec885701f6 (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
40
41
42
43
# New ports collection makefile for:    libjit
# Date created:     2004-04-27
# Whom:         michael johnson <ahze@ahze.net>
#
# $FreeBSD$
#

PORTNAME=   libjit
PORTVERSION=    0.0.4
CATEGORIES= lang
MASTER_SITES=   http://www.southern-storm.com.au/download/

MAINTAINER= ahze@ahze.net
COMMENT=    Libjit implements Just-In-Time compilation functionality

USE_GMAKE=  yes
USE_INC_LIBTOOL_VER=13
USE_REINPLACE=  yes

INSTALLS_SHLIB= yes

INFO=       libjit
MAN3=       libjit.3

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
BROKEN=     "Does not compile on amd64"
.endif

post-patch:
.if ${OSVERSION} >= 502128
    @${REINPLACE_CMD} -e 's|#undef HAVE_TGMATH_H||' \
        ${WRKSRC}/config.h.in
.endif

post-configure:
.if ${OSVERSION} >= 502123
    @${REINPLACE_CMD} -e 's|$$pic_flag -DPIC||' \
        ${WRKSRC}/libtool
.endif

.include <bsd.port.post.mk>