openbsd-ports/net/ushare/Makefile
sthen 691c83f9b2 Bump some ports which reference if_msghdr in their source, so that package
updates are triggered. This is following the struct if_data ABI change a few
days ago; if_msghdr has an embedded if_data.  Some may be unnecessary, but
some are definitely needed and bumps are cheaper than debugging.
Problem reported with wpa_supplicant by Mikolaj Kucharski.
2015-10-08 21:19:21 +00:00

50 lines
908 B
Makefile
Executable File

# $OpenBSD: Makefile,v 1.17 2015/10/08 21:19:22 sthen Exp $
PORTROACH= skipv:1.1
COMMENT= UPnP A/V media server
DISTNAME= ushare-1.1a
REVISION= 10
EXTRACT_SUFX= .tar.bz2
CATEGORIES= net multimedia
HOMEPAGE= http://ushare.geexbox.org/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c pthread ixml threadutil upnp
MASTER_SITES= ${HOMEPAGE}releases/
MODULES= devel/gettext
LIB_DEPENDS= net/libupnp
USE_GMAKE= Yes
NO_TEST= Yes
CONFIGURE_STYLE=simple
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --sysconfdir=${SYSCONFDIR} \
--disable-optimize \
--disable-dlna
CFLAGS+= -I${LOCALBASE}/include -I${WRKSRC} \
-DHAVE_ICONV -DBSD -D__unix__
FAKE_FLAGS= sysconfdir=${WRKINST}${PREFIX}/share/examples/ushare
.ifdef DEBUG
CONFIGURE_ARGS+= --enable-debug
.else
CONFIGURE_ARGS+= --disable-debug
.endif
post-install:
rm -r ${PREFIX}/share/examples/ushare/init.d/
.include <bsd.port.mk>