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

(-)net/linphone/Makefile (-8 / +8 lines)
Lines 19-46 Link Here
19
		speex.2:${PORTSDIR}/audio/speex \
19
		speex.2:${PORTSDIR}/audio/speex \
20
		osip.9:${PORTSDIR}/net/libosip
20
		osip.9:${PORTSDIR}/net/libosip
21
21
22
USE_GNOME=	gnomehack gnometarget
22
USE_GMAKE=	yes
23
USE_GMAKE=	yes
23
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
24
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
25
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
25
		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
26
		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
26
CONFIGURE_ARGS=	--disable-ipv6
27
CONFIGURE_ARGS=	--disable-ipv6
27
.ifdef WITHOUT_GNOME
28
INSTALLS_SHLIB=	yes
28
CONFIGURE_ARGS+=--enable-gnome-ui=no \
29
29
		--with-html-dir=${DOCSDIR}
30
MAN1=		linphone.1 linphonec.1 sipomatic.1
31
32
.if defined(WITHOUT_X11)
33
CONFIGURE_ARGS+=	--enable-gnome_ui=no --with-html-dir=${DOCSDIR}
30
PLIST_SUB+=	GNOME="@comment " \
34
PLIST_SUB+=	GNOME="@comment " \
31
		GNOME_PATH="" \
35
		GNOME_PATH="" \
32
		HTMLDOCSDIR="${DOCSDIR:S,^${PREFIX}/,,}"
36
		HTMLDOCSDIR="${DOCSDIR:S,^${PREFIX}/,,}"
33
.else
37
.else
34
USE_X_PREFIX=	yes
38
USE_X_PREFIX=	yes
35
USE_GNOME=	gnomehack gnomeprefix gnomepanel
39
USE_GNOME+=	gnomepanel gnomeprefix
36
DOCSDIR=	${GNOME_HTML_DIR}
40
DOCSDIR=	${GNOME_HTML_DIR}
37
CONFIGURE_ARGS=	--enable-gnome-ui=yes
38
PLIST_SUB+=	GNOME="" \
41
PLIST_SUB+=	GNOME="" \
39
		GNOME_PATH="gnome/" \
42
		GNOME_PATH="gnome/" \
40
		HTMLDOCSDIR="${GNOME_HTML_DIR:S,^${PREFIX}/,,}"
43
		HTMLDOCSDIR="${GNOME_HTML_DIR:S,^${PREFIX}/,,}"
41
.endif
44
.endif
42
INSTALLS_SHLIB=	yes
43
44
MAN1=		linphone.1 linphonec.1 sipomatic.1
45
45
46
.include <bsd.port.mk>
46
.include <bsd.port.mk>

Return to bug 61427