freebsd-ports/net/libdmapsharing/Makefile
Tobias Kortkamp dc2daab8af net/libdmapsharing: Explicitly disable the dependency on devel/check
By default, the configure script of net/libdmapsharing detects
devel/check automatically.  If devel/check is installed,
net/libdmapsharing will link to it.  It can cause problems because
devel/check is not declared as a dependency of net/libdmapsharing,
so libdmapsharing-3.0.so will be broken if devel/check is removed.

$ ldd /usr/local/lib/libdmapsharing-3.0.so
...
libcheck.so.0 => not found (0)
...

Since devel/check is just a unit test framework, it should be safe
to disable it unconditionally.

PR:		240195
Submitted by:	Ting-Wei Lan <lantw44@gmail.com>
2019-08-30 11:10:55 +00:00

43 lines
1.2 KiB
Makefile

# Created by: Gustau Perez <gustau.perez@gmail.com>
# $FreeBSD$
PORTNAME= libdmapsharing
PORTVERSION= 2.9.39
CATEGORIES= net gnome
MASTER_SITES= https://www.flyn.org/projects/libdmapsharing/
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME music playing application
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= vapigen:lang/vala
LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \
libgee-0.8.so:devel/libgee
USES= gettext gnome gmake libtool pathfix pkgconfig
USE_GNOME= cairo gdkpixbuf2 gnomeprefix gtk30 introspection:build
USE_GSTREAMER1= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --disable-check \
--disable-introspection \
--with-mdns=avahi
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include `pkg-config --cflags gtk+-3.0`
LDFLAGS+= -L${LOCALBASE}/lib `pkg-config --libs gtk+-3.0` -lm
INSTALL_TARGET= install-strip
OPTIONS_SUB= yes
OPTIONS_DEFAULT= AVAHI
OPTIONS_SINGLE= MDNS
OPTIONS_SINGLE_MDNS= AVAHI MDNSRESPONDER
AVAHI_LIB_DEPENDS= libavahi-core.so:net/avahi-app
AVAHI_CONFIGURE_ON= --with-mdns=avahi
MDNSRESPONDER_LIB_DEPENDS= libdns_sd.so:net/mDNSResponder \
libavahi-glib.so:net/avahi-app
MDNSRESPONDER_CONFIGURE_ON= --with-mdns=mdns
MDNSRESPONDER_DESC+= Zeroconf support via mDNSResponder (broken)
.include <bsd.port.mk>