Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 2014 16:21:14 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361392 - in head/net/usbredir: . files
Message-ID:  <201407091621.s69GLEG7083239@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Wed Jul  9 16:21:13 2014
New Revision: 361392
URL: http://svnweb.freebsd.org/changeset/ports/361392
QAT: https://qat.redports.org/buildarchive/r361392/

Log:
  - USES=libtool pathfix
  - Add INSTALL_TARGET=install-strip
  - Remove MAKE_ARGS and MAKE_ENV
  - Remove files/libusb-1.0.pc, not needed with LIBUSB_CFLAGS and LIBUSB_LIBS
    set in CONFIGURE_ENV

Deleted:
  head/net/usbredir/files/libusb-1.0.pc
Modified:
  head/net/usbredir/Makefile
  head/net/usbredir/pkg-plist

Modified: head/net/usbredir/Makefile
==============================================================================
--- head/net/usbredir/Makefile	Wed Jul  9 16:13:17 2014	(r361391)
+++ head/net/usbredir/Makefile	Wed Jul  9 16:21:13 2014	(r361392)
@@ -3,24 +3,17 @@
 
 PORTNAME=	usbredir
 PORTVERSION=	0.6
+PORTREVISION=	1
 CATEGORIES=	net devel
 MASTER_SITES=	http://spice-space.org/download/usbredir/
 
 MAINTAINER=	nox@FreeBSD.org
 COMMENT=	protocol for redirection of USB traffic
 
-USES=		gmake pkgconfig tar:bzip2
+USES=		gmake libtool pathfix pkgconfig tar:bzip2
 PATCH_STRIP=	-p1
 GNU_CONFIGURE=	yes
-MAKE_ARGS+=	PREFIX=${PREFIX}
-CONFIGURE_ENV+=	LIBUSB_CFLAGS=-I/usr/include\ -DLIBUSB_CALL=
-CONFIGURE_ENV+=	LIBUSB_LIBS=-lusb
-
-.include <bsd.port.options.mk>
-
-MAKE_ENV+=	PKG_CONFIG_PATH=${FILESDIR}
-
-post-patch:
-	@${REINPLACE_CMD} "s|\\\$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|" ${WRKSRC}/*/Makefile.in ${WRKSRC}/*/Makefile.am
+INSTALL_TARGET=	install-strip
+CONFIGURE_ENV=	LIBUSB_CFLAGS=-DLIBUSB_CALL= LIBUSB_LIBS=-lusb
 
 .include <bsd.port.mk>

Modified: head/net/usbredir/pkg-plist
==============================================================================
--- head/net/usbredir/pkg-plist	Wed Jul  9 16:13:17 2014	(r361391)
+++ head/net/usbredir/pkg-plist	Wed Jul  9 16:21:13 2014	(r361392)
@@ -3,13 +3,13 @@ include/usbredirhost.h
 include/usbredirproto.h
 include/usbredirparser.h
 lib/libusbredirparser.a
-lib/libusbredirparser.la
 lib/libusbredirparser.so
 lib/libusbredirparser.so.1
+lib/libusbredirparser.so.1.0.0
 lib/libusbredirhost.a
-lib/libusbredirhost.la
 lib/libusbredirhost.so
 lib/libusbredirhost.so.1
+lib/libusbredirhost.so.1.0.0
 libdata/pkgconfig/libusbredirparser-0.5.pc
 libdata/pkgconfig/libusbredirhost.pc
 man/man1/usbredirserver.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407091621.s69GLEG7083239>