diff options
author | krion <krion@FreeBSD.org> | 2004-01-16 22:36:21 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-01-16 22:36:21 +0800 |
commit | 7c3158f103fcc3f04d563dc5c67f46e47c791a93 (patch) | |
tree | d6fa487ac16371ac08e9b9856be6c772f95b8121 /net/linphone-base | |
parent | b8f711d67189978374d228348c943135c72cb098 (diff) | |
download | freebsd-ports-gnome-7c3158f103fcc3f04d563dc5c67f46e47c791a93.tar.gz freebsd-ports-gnome-7c3158f103fcc3f04d563dc5c67f46e47c791a93.tar.zst freebsd-ports-gnome-7c3158f103fcc3f04d563dc5c67f46e47c791a93.zip |
- Reaarange USE_GNOME
- Suppprt CONFIGURE_ARGS properly
- Replace WITHOUT_GNOME with WITHOUT_X11
PR: 61427
Submitted by: Ports Fury
Diffstat (limited to 'net/linphone-base')
-rw-r--r-- | net/linphone-base/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/net/linphone-base/Makefile b/net/linphone-base/Makefile index e5ff4731f1ca..fb89323b4026 100644 --- a/net/linphone-base/Makefile +++ b/net/linphone-base/Makefile @@ -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> |