freebsd-ports/devel/upnp/Makefile
Pawel Pekala e39f0668ce Add patch to fix uuid_create() namespace clash with libc, this affects
at least multimedia/vlc port (crash while checking upnp devices)

Submitted by:   nox
2012-09-04 19:03:45 +00:00

50 lines
1.0 KiB
Makefile

# New ports collection makefile for: upnp
# Date created: 02 August 2002
# Whom: Yen-Ming Lee <leeym@leeym.com>
#
# $FreeBSD$
#
PORTNAME= upnp
PORTVERSION= 1.6.17
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= SF/p${PORTNAME}/p${PORTNAME}/libUPnP%20${PORTVERSION}
DISTNAME= lib${PORTNAME}-${PORTVERSION}
MAINTAINER= pawel@FreeBSD.org
COMMENT= Universal Plug and Play Software Development Kit
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
OPTIONS_DEFINE= DEBUG
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
CONFIGURE_ARGS+= --with-documentation=${DOCSDIR}
PORTDOCS= *
.else
CONFIGURE_ARGS+= --without-documentation
.endif
.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+= --enable-debug
.endif
post-patch: .SILENT
${REINPLACE_CMD} '/^pkgconfigexecdir/s|$$(libdir)|$$(prefix)/libdata|' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>