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

(-)/usr/ports/devel/llvm/Makefile (+13 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	llvm
8
PORTNAME=	llvm
9
PORTVERSION=	2.5
9
PORTVERSION=	2.5
10
PORTREVISION=	1
10
CATEGORIES=	devel lang
11
CATEGORIES=	devel lang
11
MASTER_SITES=	http://llvm.org/releases/${PORTVERSION}/
12
MASTER_SITES=	http://llvm.org/releases/${PORTVERSION}/
12
13
Lines 44-55 Link Here
44
		llvm-prof.1 llvm-ranlib.1 llvmc.1 llvmgcc.1 \
45
		llvm-prof.1 llvm-ranlib.1 llvmc.1 llvmgcc.1 \
45
		llvmgxx.1 opt.1 tblgen.1
46
		llvmgxx.1 opt.1 tblgen.1
46
47
48
OPTIONS=	NO_ASSERTS	"Disable assertions (needed by graphics/opengtl)" off
49
47
.include <bsd.port.pre.mk>
50
.include <bsd.port.pre.mk>
48
51
49
.if ${ARCH} == "sparc64"
52
.if ${ARCH} == "sparc64"
50
BROKEN=		Does not compile on sparc64
53
BROKEN=		Does not compile on sparc64
51
.endif
54
.endif
52
55
56
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
57
CFLAGS+=	-fPIC
58
.endif
59
60
.ifdef(WITH_NO_ASSERTS)
61
CONFIGURE_ARGS+=	--disable-assertions
62
.else
63
CONFIGURE_ARGS+=	--enable-assertions
64
.endif
65
53
post-patch:
66
post-patch:
54
	${REINPLACE_CMD} -e 's|\(PROJ_docsdir.*:=\).*$$|\1${DOCSDIR}|g' \
67
	${REINPLACE_CMD} -e 's|\(PROJ_docsdir.*:=\).*$$|\1${DOCSDIR}|g' \
55
	    ${WRKSRC}/Makefile.config.in
68
	    ${WRKSRC}/Makefile.config.in

Return to bug 139207