diff options
author | miwi <miwi@FreeBSD.org> | 2007-07-13 17:05:28 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-07-13 17:05:28 +0800 |
commit | 734e44f75e35b31b559957fd276c8784ee8fc53f (patch) | |
tree | 292e7a0fefb6425365ee9ca22195e0cf98fc47da | |
parent | af8a409f5a718f0d4af1d20b75c2aa450a223ebc (diff) | |
download | freebsd-ports-gnome-734e44f75e35b31b559957fd276c8784ee8fc53f.tar.gz freebsd-ports-gnome-734e44f75e35b31b559957fd276c8784ee8fc53f.tar.zst freebsd-ports-gnome-734e44f75e35b31b559957fd276c8784ee8fc53f.zip |
- 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
-rw-r--r-- | net/ushare/Makefile | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/net/ushare/Makefile b/net/ushare/Makefile index affafd215159..35e5f8fd63a0 100644 --- a/net/ushare/Makefile +++ b/net/ushare/Makefile @@ -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> |