Lines 13-24
Link Here
|
13 |
MAINTAINER= brooks@FreeBSD.org |
13 |
MAINTAINER= brooks@FreeBSD.org |
14 |
COMMENT= Low Level Virtual Machine |
14 |
COMMENT= Low Level Virtual Machine |
15 |
|
15 |
|
|
|
16 |
.if defined(MAINTAINER_MODE) |
17 |
BUILD_DEPENDS= f2c:${PORTSDIR}/lang/f2c \ |
18 |
runtest:${PORTSDIR}/misc/dejagnu |
19 |
.endif |
20 |
|
16 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
17 |
USE_GMAKE= yes |
22 |
USE_GMAKE= yes |
18 |
USE_PERL5_BUILD=yes |
23 |
USE_PERL5_BUILD=yes |
19 |
USE_GCC= 3.3+ |
|
|
20 |
|
24 |
|
21 |
CONFIGURE_FLAGS+= --enable-optimized |
25 |
.if defined(MAINTAINER_MODE) |
|
|
26 |
CONFIGURE_ARGS+= --with-f2c=${LOCALBASE} |
27 |
.else |
28 |
CONFIGURE_ARGS+= --enable-optimized |
29 |
.endif |
22 |
|
30 |
|
23 |
MAN1= bugpoint.1 llc.1 lli.1 llvm-ar.1 \ |
31 |
MAN1= bugpoint.1 llc.1 lli.1 llvm-ar.1 \ |
24 |
llvm-as.1 llvm-bcanalyzer.1 llvm-config.1 llvm-db.1 \ |
32 |
llvm-as.1 llvm-bcanalyzer.1 llvm-config.1 llvm-db.1 \ |
Lines 33-42
Link Here
|
33 |
BROKEN= does not build on sparc64 |
41 |
BROKEN= does not build on sparc64 |
34 |
.endif |
42 |
.endif |
35 |
|
43 |
|
36 |
.if ${PERL_LEVEL} < 500800 |
|
|
37 |
BROKEN= does not compile with perl ${PERL_VERSION} |
38 |
.endif |
39 |
|
40 |
post-patch: |
44 |
post-patch: |
41 |
${REINPLACE_CMD} -e 's,\(PROJ_docsdir.*:=\).*$$,\1${DOCSDIR},g' \ |
45 |
${REINPLACE_CMD} -e 's,\(PROJ_docsdir.*:=\).*$$,\1${DOCSDIR},g' \ |
42 |
${WRKSRC}/Makefile.config.in |
46 |
${WRKSRC}/Makefile.config.in |
Lines 48-51
Link Here
|
48 |
${PREFIX}/etc/llvm/.dir \ |
52 |
${PREFIX}/etc/llvm/.dir \ |
49 |
${PREFIX}/lib/.dir |
53 |
${PREFIX}/lib/.dir |
50 |
|
54 |
|
|
|
55 |
regression-test: |
56 |
(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} ${GMAKE} check) |
57 |
|
51 |
.include <bsd.port.post.mk> |
58 |
.include <bsd.port.post.mk> |