- Reaarange USE_GNOME

- Suppprt CONFIGURE_ARGS properly
- Replace WITHOUT_GNOME with WITHOUT_X11

PR:		61427
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2004-01-16 14:36:21 +00:00
parent ddfa4a045b
commit 3f3f607dd2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98305
2 changed files with 16 additions and 16 deletions

View File

@ -19,28 +19,28 @@ LIB_DEPENDS= gsm.1:${PORTSDIR}/audio/gsm \
speex.2:${PORTSDIR}/audio/speex \
osip.9:${PORTSDIR}/net/libosip
USE_GNOME= gnomehack gnometarget
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --disable-ipv6
.ifdef WITHOUT_GNOME
CONFIGURE_ARGS+=--enable-gnome-ui=no \
--with-html-dir=${DOCSDIR}
INSTALLS_SHLIB= yes
MAN1= linphone.1 linphonec.1 sipomatic.1
.if defined(WITHOUT_X11)
CONFIGURE_ARGS+= --enable-gnome_ui=no --with-html-dir=${DOCSDIR}
PLIST_SUB+= GNOME="@comment " \
GNOME_PATH="" \
HTMLDOCSDIR="${DOCSDIR:S,^${PREFIX}/,,}"
.else
USE_X_PREFIX= yes
USE_GNOME= gnomehack gnomeprefix gnomepanel
USE_GNOME+= gnomepanel gnomeprefix
DOCSDIR= ${GNOME_HTML_DIR}
CONFIGURE_ARGS= --enable-gnome-ui=yes
PLIST_SUB+= GNOME="" \
GNOME_PATH="gnome/" \
HTMLDOCSDIR="${GNOME_HTML_DIR:S,^${PREFIX}/,,}"
.endif
INSTALLS_SHLIB= yes
MAN1= linphone.1 linphonec.1 sipomatic.1
.include <bsd.port.mk>

View File

@ -19,28 +19,28 @@ LIB_DEPENDS= gsm.1:${PORTSDIR}/audio/gsm \
speex.2:${PORTSDIR}/audio/speex \
osip.9:${PORTSDIR}/net/libosip
USE_GNOME= gnomehack gnometarget
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --disable-ipv6
.ifdef WITHOUT_GNOME
CONFIGURE_ARGS+=--enable-gnome-ui=no \
--with-html-dir=${DOCSDIR}
INSTALLS_SHLIB= yes
MAN1= linphone.1 linphonec.1 sipomatic.1
.if defined(WITHOUT_X11)
CONFIGURE_ARGS+= --enable-gnome_ui=no --with-html-dir=${DOCSDIR}
PLIST_SUB+= GNOME="@comment " \
GNOME_PATH="" \
HTMLDOCSDIR="${DOCSDIR:S,^${PREFIX}/,,}"
.else
USE_X_PREFIX= yes
USE_GNOME= gnomehack gnomeprefix gnomepanel
USE_GNOME+= gnomepanel gnomeprefix
DOCSDIR= ${GNOME_HTML_DIR}
CONFIGURE_ARGS= --enable-gnome-ui=yes
PLIST_SUB+= GNOME="" \
GNOME_PATH="gnome/" \
HTMLDOCSDIR="${GNOME_HTML_DIR:S,^${PREFIX}/,,}"
.endif
INSTALLS_SHLIB= yes
MAN1= linphone.1 linphonec.1 sipomatic.1
.include <bsd.port.mk>