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

(-)opera-devel/Makefile (-18 / +19 lines)
Lines 31-52 Link Here
31
NO_BUILD=	yes
31
NO_BUILD=	yes
32
NO_FILTER_SHLIBS=yes
32
NO_FILTER_SHLIBS=yes
33
33
34
.ifndef(WITHOUT_ASPELL)
34
OPTIONS=	SHARED	"Use a shared Qt library (instead of static)"	${QT_PRESENT} \
35
		ASPELL	"Use the aspell library for spell checking"	on
36
37
.ifdef(WITH_ASPELL)
35
LIB_DEPENDS+=	aspell.16:${PORTSDIR}/textproc/aspell
38
LIB_DEPENDS+=	aspell.16:${PORTSDIR}/textproc/aspell
36
.endif
39
.endif
37
40
41
.if exists(${X11BASE}/lib/libqt-mt.prl)
42
QT_PRESENT=     on
43
.else
44
QT_PRESENT=     off
45
.endif
46
38
.include <bsd.port.pre.mk>
47
.include <bsd.port.pre.mk>
39
48
40
.if ${OSVERSION} >= 600000
49
.if ${OSVERSION} >= 600000
41
OPERA_TYPE=	4
50
OPERA_TYPE=	4
42
WITH_SHARED=	yes
43
.elif ${OSVERSION} >= 500000
51
.elif ${OSVERSION} >= 500000
44
OPERA_TYPE=	3
52
OPERA_TYPE=	3
45
WITH_SHARED=	yes
46
.elifdef WITH_SHARED
47
OPERA_TYPE=	2
48
.else
53
.else
49
OPERA_TYPE=	1
54
OPERA_TYPE=	2
50
.endif
55
.endif
51
56
52
.if defined(WITH_SHARED)
57
.if defined(WITH_SHARED)
Lines 54-59 Link Here
54
LIB_DEPENDS+=	qt-mt:${PORTSDIR}/x11-toolkits/qt33
59
LIB_DEPENDS+=	qt-mt:${PORTSDIR}/x11-toolkits/qt33
55
.else
60
.else
56
OPERA_LIB=	static
61
OPERA_LIB=	static
62
OPERA_TYPE=	1
63
.endif
64
65
.if ${OPERA_TYPE} == 1 && ${OSVERSION} >= 500000
66
LIB_DEPENDS+=	c_r.4:${PORTSDIR}/misc/compat4x
67
.if ${OSVERSION} >= 600000
68
LIB_DEPENDS+=	z.2:${PORTSDIR}/misc/compat5x
69
.endif
57
.endif
70
.endif
58
71
59
.if ${HAVE_GNOME:Mgnomehier}!=""
72
.if ${HAVE_GNOME:Mgnomehier}!=""
Lines 66-83 Link Here
66
PLIST_SUB+=	KDE=""
79
PLIST_SUB+=	KDE=""
67
.else
80
.else
68
PLIST_SUB+=	KDE="@comment "
81
PLIST_SUB+=	KDE="@comment "
69
.endif
70
71
pre-everything::
72
.if !defined(WITHOUT_ASPELL) || !defined(WITH_SHARED)
73
	@${ECHO_CMD} '===> The following options are available for this port:'
74
	@${ECHO_CMD} '===>'
75
.if !defined(WITHOUT_ASPELL)
76
	@${ECHO_CMD} '===> Define WITHOUT_ASPELL to not install aspell.'
77
.endif
78
.if !defined(WITH_SHARED)
79
	@${ECHO_CMD} '===> Define WITH_SHARED to use a shared Qt library.'
80
.endif
81
.endif
82
.endif
82
83
83
post-patch:
84
post-patch:

Return to bug 93312