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

(-)pkg-plist (-9 / +35 lines)
Lines 37-40 Link Here
37
.endif
37
.endif
38
38
39
.ifdef(WITH_GNUTLS)
40
LIB_DEPENDS+=	gnutls:${PORTSDIR}/security/gnutls
41
.else
42
CONFIGURE_ARGS+=	--disable-gnutls
43
.endif
44
39
.ifndef(WITHOUT_GTKSPELL)
45
.ifndef(WITHOUT_GTKSPELL)
40
LIB_DEPENDS+=	gtkspell.0:${PORTSDIR}/textproc/gtkspell2
46
LIB_DEPENDS+=	gtkspell.0:${PORTSDIR}/textproc/gtkspell2
Lines 50-65 Link Here
50
.endif
56
.endif
51
57
58
.ifdef(TCL_VER)
59
_TCL_DVER=	${TCL_VER:S/.//}
60
_TCL_VER=	${_TCL_DVER:C/(.)/\1./}
61
.if ${_TCL_VER} != 8.3
62
.	error	Currently GAIM can only use Tcl/Tk 8.3
63
.endif
64
LIB_DEPENDS+=	tk${_TCL_DVER}:${PORTSDIR}/x11-toolkits/tk${_TCL_DVER}
65
CONFIGURE_ARGS+=--with-tclconfig=${LOCALBASE}/lib/tcl${_TCL_VER} \
66
		--with-tkconfig=${LOCALBASE}/lib/tk${_TCL_VER}
67
CFLAGS+=	-I${LOCALBASE}/include/tk${_TCL_VER} -I${LOCALBASE}/include/tcl${_TCL_VER}
68
PLIST_SUB+=		TCL:=""
69
.else
70
PLIST_SUB+=		TCL:="@comment "
71
.endif
72
52
pre-everything::
73
pre-everything::
53
	@${ECHO_MSG} ""
74
	#
54
	@${ECHO_MSG} "Gaim has the following tunable option(s):"
75
	# Gaim has the following tunable option(s):
55
	@${ECHO_MSG} "		WITHOUT_GTKSPELL	Turns off spell checking"
76
	#		WITH_GNUTLS		Enable SSL support
56
	@${ECHO_MSG} "		WITHOUT_AUDIO		Disable audio support"
77
	#		WITHOUT_GTKSPELL	Turns off spell checking
57
	@${ECHO_MSG} ""
78
	#		WITHOUT_AUDIO		Disable audio support
79
	#		TCL_VER			Use Tcl/Tk (version)
80
	#
58
81
59
post-patch:
82
post-patch:
60
	@${REINPLACE_CMD} -e 's|-lpthreads|${PTHREAD_LIBS:S/"//g}|g; \
83
	@${REINPLACE_CMD} -e 's|-lpthreads|${PTHREAD_LIBS:S/"//g}|g' \
61
		s|-lpthread|${PTHREAD_LIBS:S/"//g}|g' ${WRKSRC}/configure
84
		-e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
62
	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
85
		-e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|g' \
63
		${WRKSRC}/configure
86
		-e 's|TCL_VERSION found but 8.3 required|TCL_VERSION found but ${_TCL_VER} required|g' \
87
		-e 's|TCL_MINOR_VERSION" -ne 3|TCL_MINOR_VERSION" -ne ${_TCL_VER:E}|' \
88
			${WRKSRC}/configure
64
89
65
.include <bsd.port.post.mk>
90
.include <bsd.port.post.mk>
Lines 22-25 Link Here
22
lib/gaim/spellchk.so
22
lib/gaim/spellchk.so
23
lib/gaim/statenotify.so
23
lib/gaim/statenotify.so
24
%%TCL:%%lib/gaim/tcl.so
24
lib/gaim/ticker.so
25
lib/gaim/ticker.so
25
lib/gaim/timestamp.so
26
lib/gaim/timestamp.so

Return to bug 57262