Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 2015 20:26:22 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r398012 - in head: audio/alsa-plugins audio/alsa-utils audio/wavbreaker devel/android-tools-fastboot emulators/ppsspp emulators/xsystem35 multimedia/libmtp net-p2p/transmission-cli sysu...
Message-ID:  <201509262026.t8QKQMFL068467@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Sep 26 20:26:21 2015
New Revision: 398012
URL: https://svnweb.freebsd.org/changeset/ports/398012

Log:
  Convert my ports to USES=localbase

Modified:
  head/audio/alsa-plugins/Makefile   (contents, props changed)
  head/audio/alsa-utils/Makefile   (contents, props changed)
  head/audio/wavbreaker/Makefile   (contents, props changed)
  head/devel/android-tools-fastboot/Makefile   (contents, props changed)
  head/emulators/ppsspp/Makefile   (contents, props changed)
  head/emulators/xsystem35/Makefile   (contents, props changed)
  head/multimedia/libmtp/Makefile   (contents, props changed)
  head/net-p2p/transmission-cli/Makefile   (contents, props changed)
  head/sysutils/fusefs-simple-mtpfs/Makefile   (contents, props changed)

Modified: head/audio/alsa-plugins/Makefile
==============================================================================
--- head/audio/alsa-plugins/Makefile	Sat Sep 26 20:25:57 2015	(r398011)
+++ head/audio/alsa-plugins/Makefile	Sat Sep 26 20:26:21 2015	(r398012)
@@ -15,11 +15,10 @@ LICENSE=	LGPL21 # or any later version
 LIB_DEPENDS=	libasound.so:${PORTSDIR}/audio/alsa-lib
 
 GNU_CONFIGURE=	yes
-USES=		alias libtool:keepla pkgconfig tar:bzip2
+USES=		alias libtool:keepla localbase pkgconfig tar:bzip2
 EXTRA_PATCHES+=	${FILESDIR}/alsa-plugins.patch
 INSTALL_TARGET=	install-strip
 CPPFLAGS+=	-I${.CURDIR}/../alsa-lib/files
-LDFLAGS+=	-L${LOCALBASE}/lib
 
 OPTIONS_DEFAULT=IO_PTR
 OPTIONS_DEFINE=	JACK FFMPEG PULSEAUDIO SAMPLERATE SPEEX
@@ -44,7 +43,6 @@ JACK_IMPLIES=		SAMPLERATE
 
 FFMPEG_LIB_DEPENDS=	libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
 FFMPEG_CONFIGURE_ENABLE=avcodec
-FFMPEG_CPPFLAGS=	-I${LOCALBASE}/include
 
 PULSEAUDIO_LIB_DEPENDS=	libpulse.so:${PORTSDIR}/audio/pulseaudio
 PULSEAUDIO_CONFIGURE_ENABLE=pulseaudio

Modified: head/audio/alsa-utils/Makefile
==============================================================================
--- head/audio/alsa-utils/Makefile	Sat Sep 26 20:25:57 2015	(r398011)
+++ head/audio/alsa-utils/Makefile	Sat Sep 26 20:26:21 2015	(r398012)
@@ -15,13 +15,12 @@ LICENSE=	GPLv2 # or any later version
 LIB_DEPENDS=	libasound.so:${PORTSDIR}/audio/alsa-lib
 RUN_DEPENDS=	${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins
 
-USES=		gmake shebangfix tar:bzip2
+USES=		gmake localbase shebangfix tar:bzip2
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-udev-rules-dir="\$${prefix}/lib/udev"
 SHEBANG_FILES=	alsa-info/alsa-info.sh alsaconf/alsaconf.in
 INSTALL_TARGET=	install-strip
-CPPFLAGS+=	-I${LOCALBASE}/include -I${.CURDIR}/../alsa-lib/files
-LDFLAGS+=	-L${LOCALBASE}/lib
+CPPFLAGS+=	-I${.CURDIR}/../alsa-lib/files
 
 OPTIONS_SUB=	yes
 OPTIONS_DEFINE=	MANPAGES NLS

Modified: head/audio/wavbreaker/Makefile
==============================================================================
--- head/audio/wavbreaker/Makefile	Sat Sep 26 20:25:57 2015	(r398011)
+++ head/audio/wavbreaker/Makefile	Sat Sep 26 20:26:21 2015	(r398012)
@@ -21,10 +21,8 @@ NLS_USES=		gettext
 NLS_CONFIGURE_ENABLE=	nls
 
 USE_GNOME=	gtk20 libxml2
-USES=		gmake pathfix pkgconfig desktop-file-utils
+USES=		desktop-file-utils gmake localbase pathfix pkgconfig
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--disable-alsa
 INSTALLS_ICONS=	yes
 

Modified: head/devel/android-tools-fastboot/Makefile
==============================================================================
--- head/devel/android-tools-fastboot/Makefile	Sat Sep 26 20:25:57 2015	(r398011)
+++ head/devel/android-tools-fastboot/Makefile	Sat Sep 26 20:26:21 2015	(r398012)
@@ -28,15 +28,13 @@ GH_PROJECT=	platform_system_core platfor
 
 CONFLICTS_INSTALL?=	${PORTNAME}-devel-*
 
-USES+=		uidfix
+USES+=		localbase uidfix
 BUILD_WRKSRC=	${WRKSRC}/fastboot
 INSTALL_WRKSRC=	${BUILD_WRKSRC}
 MAKEFILE=	${FILESDIR}/Makefile
 MAKE_ENV=	FILESDIR="${FILESDIR}" BINDIR="${PREFIX}/bin" \
 		MANDIR="${PREFIX}/man/man" \
 		LIBPCRE="${LOCALBASE}/lib/libpcre.a"
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 PLIST_FILES=	bin/fastboot \
 		%%BASH%%etc/bash_completion.d/fastboot \
 		man/man1/fastboot.1.gz

Modified: head/emulators/ppsspp/Makefile
==============================================================================
--- head/emulators/ppsspp/Makefile	Sat Sep 26 20:25:57 2015	(r398011)
+++ head/emulators/ppsspp/Makefile	Sat Sep 26 20:26:21 2015	(r398012)
@@ -31,7 +31,7 @@ GH_PROJECT+=	native:native
 
 CONFLICTS_INSTALL?=	${PORTNAME}-devel-[0-9]*
 
-USES=		compiler:c++11-lib pkgconfig
+USES=		compiler:c++11-lib localbase pkgconfig
 USE_GL+=	glu
 USE_SDL=	sdl2 # joystick
 CMAKE_ARGS=	-DUSE_SYSTEM_FFMPEG=on
@@ -58,7 +58,6 @@ QT5_USE=	QT5=qmake_build,buildtools_buil
 SDL_USES=	cmake:outsource ninja
 SDL_BUILD_DEPENDS=	png>=1.6:${PORTSDIR}/graphics/png
 SDL_LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png
-SDL_LDFLAGS=	-L${LOCALBASE}/lib # ffmpeg
 SDL_VARS=	PORTDATA+="assets ${PORTNAME}"
 
 post-extract:

Modified: head/emulators/xsystem35/Makefile
==============================================================================
--- head/emulators/xsystem35/Makefile	Sat Sep 26 20:25:57 2015	(r398011)
+++ head/emulators/xsystem35/Makefile	Sat Sep 26 20:26:21 2015	(r398012)
@@ -35,7 +35,7 @@ MMX_BUILD_DEPENDS=nasm:${PORTSDIR}/devel
 MMX_CONFIGURE_ENABLE=mmx
 
 EXTRACT_AFTER_ARGS=--exclude libltdl
-USES=		gettext gmake jpeg libtool shebangfix
+USES=		gettext gmake jpeg libtool localbase shebangfix
 SHEBANG_FILES=	contrib/instgame
 USE_XORG=	x11 xext xxf86vm
 GNU_CONFIGURE=	yes
@@ -47,8 +47,6 @@ CONFIGURE_ARGS=	\
 		--with-default-output=oss \
 		--enable-midi=seq,extp,raw \
 		--enable-cdrom=bsd,mp3
-CPPFLAGS+=	-I${LOCALBASE}/include
-LIBS+=		-L${LOCALBASE}/lib
 INSTALL_TARGET=	install-strip
 
 SUB_FILES=	pkg-message

Modified: head/multimedia/libmtp/Makefile
==============================================================================
--- head/multimedia/libmtp/Makefile	Sat Sep 26 20:25:57 2015	(r398011)
+++ head/multimedia/libmtp/Makefile	Sat Sep 26 20:26:21 2015	(r398012)
@@ -21,12 +21,9 @@ MTPZ_DESC=	Enable functionality to conne
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-doxygen
 INSTALL_TARGET=	install-strip
-USES=		iconv libtool pathfix pkgconfig
+USES=		iconv libtool localbase pathfix pkgconfig
 USE_LDCONFIG=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
 .if !exists(/usr/libdata/pkgconfig/libusb-1.0.pc)
 CONFIGURE_ENV+=	LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb"
 .endif

Modified: head/net-p2p/transmission-cli/Makefile
==============================================================================
--- head/net-p2p/transmission-cli/Makefile	Sat Sep 26 20:25:57 2015	(r398011)
+++ head/net-p2p/transmission-cli/Makefile	Sat Sep 26 20:26:21 2015	(r398012)
@@ -41,11 +41,10 @@ GEN_LIB_DEPENDS=libcurl.so:${PORTSDIR}/f
 GEN_RUN_DEPENDS=${LOCALBASE}/share/transmission/web/index.html:${PORTSDIR}/www/transmission-web
 
 # This is master port of transmission-*, so don't override USES definition 
-USES+=		gmake iconv libtool pkgconfig
+USES+=		gmake iconv libtool localbase pkgconfig
 USE_OPENSSL=	yes
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include -DWITH_UTP=1
-LDFLAGS+=	-L${LOCALBASE}/lib
+CPPFLAGS+=	-DWITH_UTP=1
 LIBS+=		${ICONV_LIB}
 CONFIGURE_ARGS=--with-zlib=/usr \
 		 --without-inotify \

Modified: head/sysutils/fusefs-simple-mtpfs/Makefile
==============================================================================
--- head/sysutils/fusefs-simple-mtpfs/Makefile	Sat Sep 26 20:25:57 2015	(r398011)
+++ head/sysutils/fusefs-simple-mtpfs/Makefile	Sat Sep 26 20:26:21 2015	(r398012)
@@ -16,13 +16,11 @@ LIB_DEPENDS=	libmtp.so:${PORTSDIR}/multi
 USE_GITHUB=	yes
 GH_ACCOUNT=	phatina
 
-USES=		autoreconf compiler:c++11-lib fuse pkgconfig
+USES=		autoreconf compiler:c++11-lib fuse localbase pkgconfig
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-silent-rules
 MAKEFILE=	makefile
 INSTALL_TARGET=	install-strip
-CPPFLAGS+=	-I${LOCALBASE}/include
-LIBS+=		-L${LOCALBASE}/lib
 PLIST_FILES=	bin/${PORTNAME} \
 		man/man1/${PORTNAME}.1.gz
 PORTDOCS=	AUTHORS NEWS README.md



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