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

(-)Makefile (-23 / +4 lines)
Lines 20-52 Link Here
20
QT_COMPONENTS=	gui moc_build qmake_build rcc_build uic_build network xml linguist_build
20
QT_COMPONENTS=	gui moc_build qmake_build rcc_build uic_build network xml linguist_build
21
MAKE_JOBS_SAFE=	yes
21
MAKE_JOBS_SAFE=	yes
22
22
23
HAVE_TOR!=	if pkg_info -I tor-\* >/dev/null 2>&1 ; then ${ECHO} YES; fi
23
OPTIONS=	TOR_DEVEL	"Depend on tor-devel, rather than tor"	On
24
24
25
.if (${HAVE_TOR} == "YES")
25
.include <bsd.port.options.mk>
26
HAVE_TOR_DEVEL!=	if pkg_info -I tor-devel\* >/dev/null 2>&1 ; then ${ECHO} YES; fi
27
28
.if (${HAVE_TOR_DEVEL} == "YES")
29
OPTIONS=	TOR_DEVEL	"Depend on tor-devel (already installed)"	On
30
.else
31
OPTIONS=	TOR		"Depend on tor (already installed)"	On
32
.endif
33
34
.else
35
36
OPTIONS=	TOR_DEVEL	"Depend on tor-devel"	On \
37
		TOR		"Depend on tor"		Off
38
39
.endif
40
41
.include <bsd.port.pre.mk>
42
26
43
.if defined(WITH_TOR_DEVEL)
27
.if defined(WITH_TOR_DEVEL)
44
.if defined(WITH_TOR)
45
IGNORE=		cannot depend on tor and tor-devel at the same time
46
.endif
47
RUN_DEPENDS+=	${LOCALBASE}/bin/tor:${PORTSDIR}/security/tor-devel
28
RUN_DEPENDS+=	${LOCALBASE}/bin/tor:${PORTSDIR}/security/tor-devel
48
.elif defined(WITH_TOR)
29
.else
49
RUN_DEPENDS+=	${LOCALBASE}/bin/tor:${PORTSDIR}/security/tor
30
RUN_DEPENDS+=	${LOCALBASE}/bin/tor:${PORTSDIR}/security/tor
50
.endif
31
.endif
51
32
52
.include <bsd.port.post.mk>
33
.include <bsd.port.mk>

Return to bug 150078