- Chase increase of devel/upnp shlib version.

- set CFLAGS+=	-lpthread [1]
- Bump PORTREVISION

[1] See discussion ..
http://lists.freebsd.org/pipermail/freebsd-current/2007-June/073600.html
http://lists.freebsd.org/pipermail/freebsd-ports/2007-July/042534.html

Approved by:	maintainer
Reviewed by:	rafan
Thanks to:	ehaupt/trasz/rafan
This commit is contained in:
Martin Wilke 2007-07-13 09:05:28 +00:00
parent 28228e92d1
commit d4ddb9bcc6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195516

View file

@ -7,13 +7,14 @@
PORTNAME= ushare
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://ushare.geexbox.org/releases/
MAINTAINER= votdev@gmx.de
COMMENT= A lightweight UPnP (TM) A/V Media Server
LIB_DEPENDS= upnp.2:${PORTSDIR}/devel/upnp
LIB_DEPENDS= upnp.3:${PORTSDIR}/devel/upnp
BUILD_DEPENDS= iconv:${PORTSDIR}/converters/libiconv
PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}.conf.sample etc/rc.d/${PORTNAME}
@ -21,8 +22,17 @@ MAN1= ${PORTNAME}.1
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE}/lib --with-libintl-prefix=${LOCALBASE}/lib --mandir=${LOCALBASE}/man
USE_GNOME= pkgconfig
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE}/lib \
--with-libintl-prefix=${LOCALBASE}/lib \
--mandir=${MANPREFIX}/man \
--with-libupnp-prefix=${LOCALBASE}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700042
CFLAGS+= -lpthread
.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
@ -30,4 +40,4 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/${PORTNAME} ${PREFIX}/etc/rc.d
${INSTALL_MAN} ${WRKSRC}/src/${PORTNAME}.1 ${PREFIX}/man/man1
.include <bsd.port.mk>
.include <bsd.port.post.mk>