openbsd-ports/geo/geoclue/Makefile
ajacoutot ef5cb32a0f Stupid autohell is stupid...
The situation is this: even when we --disable-gtk-doc, if gtk-doc is
actually installed at configure stage, tools like gtkdoc-rebase will be
picked up and run during the install target. That is bad because the
gtk-doc package may have been removed by then, especially during dpb(1)
bulks (we explicitely disable support for it so why should it stay...).

So for now, let's add the following env to configure whenever we use
--disable-gtk-doc, until a bettersolution is found...
CONFIGURE_ENV +=ac_cv_path_GTKDOC_CHECK="" \
		ac_cv_path_GTKDOC_REBASE="" \
		ac_cv_path_GTKDOC_MKPDF=""
2012-09-21 14:48:05 +00:00

51 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.18 2012/09/21 14:48:05 ajacoutot Exp $
COMMENT= modular geoinformation service on top of D-Bus
DISTNAME= geoclue-0.12.99
REVISION= 0
SHARED_LIBS += geoclue 1.1 # .0.0
CATEGORIES= geo devel
HOMEPAGE= http://geoclue.freedesktop.org/
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://freedesktop.org/~hadess/
MODULES= devel/dconf \
devel/gettext
WANTLIB += c dbus-1 dbus-glib-1 ffi gcrypt gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gnome-keyring gobject-2.0 gpg-error gps gthread-2.0
WANTLIB += m pcre pthread soup-2.4 soup-gnome-2.4 sqlite3 xml2
WANTLIB += z
BUILD_DEPENDS = textproc/libxslt
LIB_DEPENDS = devel/libsoup,-gnome \
misc/gpsd \
x11/dbus-glib
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-gtk-doc \
--disable-gtk \
--disable-connman
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
# If one of these tools is found at configure stage, it might be used,
# no matter whether we use --disable-gtk-doc or not.
CONFIGURE_ENV +=ac_cv_path_GTKDOC_CHECK="" \
ac_cv_path_GTKDOC_REBASE="" \
ac_cv_path_GTKDOC_MKPDF=""
.include <bsd.port.mk>