View | Details | Raw Unified | Return to bug 261180 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/ocaml-opam/Makefile (-8 / +11 lines)
Lines 1-6 Link Here
1
PORTNAME=	opam
1
PORTNAME=	opam
2
DISTVERSION=	2.1.5
2
DISTVERSION=	2.1.5
3
PORTREVISION=	1
3
PORTREVISION=	2
4
CATEGORIES=	devel
4
CATEGORIES=	devel
5
MASTER_SITES=	https://github.com/ocaml/opam/releases/download/${DISTVERSION}/
5
MASTER_SITES=	https://github.com/ocaml/opam/releases/download/${DISTVERSION}/
6
PKGNAMEPREFIX=	ocaml-
6
PKGNAMEPREFIX=	ocaml-
Lines 12-24 WWW= https://opam.ocaml.org/ Link Here
12
12
13
LICENSE=	LGPL21
13
LICENSE=	LGPL21
14
14
15
BROKEN_armv6=	ld: error: can't create dynamic relocation R_ARM_ABS32 against symbol: caml_program in readonly segment
16
BROKEN_armv7=	ld: error: can't create dynamic relocation R_ARM_ABS32 against symbol: caml_program in readonly segment
17
18
RUN_DEPENDS=	curl:ftp/curl \
15
RUN_DEPENDS=	curl:ftp/curl \
19
		gpatch:devel/patch
16
		gpatch:devel/patch
20
17
21
USES=		gmake
18
USES=		gmake
19
.if ${ARCH} == armv6 || ${ARCH} == armv7
20
USE_BINUTILS=	yes
21
.endif
22
22
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
24
CONFIGURE_ARGS=	--disable-checks
24
CONFIGURE_ARGS=	--disable-checks
Lines 26-31 CONFIGURE_ARGS= --disable-checks Link Here
26
MAKE_JOBS_UNSAFE=	yes
26
MAKE_JOBS_UNSAFE=	yes
27
ALL_TARGET=	cold-lib-ext cold-all
27
ALL_TARGET=	cold-lib-ext cold-all
28
28
29
LDFLAGS_armv6=	-Wl,-z,notext
30
LDFLAGS_armv7=	-Wl,-z,notext
31
LDFLAGS_powerpc=	-Wl,-z,notext
32
33
NOPRECIOUSMAKEVARS=	yes
34
29
OPTIONS_DEFINE=		DARCS GIT MERCURIAL RSYNC
35
OPTIONS_DEFINE=		DARCS GIT MERCURIAL RSYNC
30
OPTIONS_DEFAULT=	GIT RSYNC
36
OPTIONS_DEFAULT=	GIT RSYNC
31
NO_OPTIONS_SORT=	yes
37
NO_OPTIONS_SORT=	yes
Lines 37-46 GIT_RUN_DEPENDS= git:devel/git Link Here
37
MERCURIAL_RUN_DEPENDS=	${PY_MERCURIAL}
43
MERCURIAL_RUN_DEPENDS=	${PY_MERCURIAL}
38
RSYNC_RUN_DEPENDS=	rsync:net/rsync
44
RSYNC_RUN_DEPENDS=	rsync:net/rsync
39
45
40
NOPRECIOUSMAKEVARS=	yes
41
42
pre-configure:
46
pre-configure:
43
	cd ${WRKSRC} && ${MAKE_CMD} compiler
47
	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} compiler)
44
48
45
post-install:
49
post-install:
46
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/opam-installer
50
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/opam-installer
47
- 

Return to bug 261180