Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2014 12:21:50 +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: r367620 - in head: Mk/Uses lang/mono security/cvm
Message-ID:  <201409081221.s88CLo0E039164@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Mon Sep  8 12:21:50 2014
New Revision: 367620
URL: http://svnweb.freebsd.org/changeset/ports/367620
QAT: https://qat.redports.org/buildarchive/r367620/

Log:
  Let USES=libtool also delete links to .la files (and links to links to...)
  
  Approved by:	portmgr (antoine)

Modified:
  head/Mk/Uses/libtool.mk
  head/lang/mono/Makefile
  head/lang/mono/pkg-plist
  head/security/cvm/Makefile
  head/security/cvm/pkg-plist

Modified: head/Mk/Uses/libtool.mk
==============================================================================
--- head/Mk/Uses/libtool.mk	Mon Sep  8 12:20:36 2014	(r367619)
+++ head/Mk/Uses/libtool.mk	Mon Sep  8 12:21:50 2014	(r367620)
@@ -76,6 +76,10 @@ patch-lafiles:
 	@${FIND} ${STAGEDIR} -type f -name '*.la' |			\
 		${XARGS} ${SED} -i '' -e "/dependency_libs=/s/=.*/=''/"
 .else
+	@${FIND} ${STAGEDIR} -type l -exec ${SH} -c			\
+		'case `${READLINK_CMD} -f "{}"` in			\
+			*.la) ${ECHO_CMD} "{}" ;; esac' \; |		\
+		${XARGS} ${GREP} -l 'libtool library' | ${XARGS} ${RM}
 	@${FIND} ${STAGEDIR} -type f -name '*.la' |			\
 		${XARGS} ${GREP} -l 'libtool library' | ${XARGS} ${RM}
 .endif

Modified: head/lang/mono/Makefile
==============================================================================
--- head/lang/mono/Makefile	Mon Sep  8 12:20:36 2014	(r367619)
+++ head/lang/mono/Makefile	Mon Sep  8 12:21:50 2014	(r367620)
@@ -3,7 +3,7 @@
 
 PORTNAME=	mono
 PORTVERSION=	3.4.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	lang
 MASTER_SITES=	http://download.mono-project.com/sources/${PORTNAME}/
 

Modified: head/lang/mono/pkg-plist
==============================================================================
--- head/lang/mono/pkg-plist	Mon Sep  8 12:20:36 2014	(r367619)
+++ head/lang/mono/pkg-plist	Mon Sep  8 12:21:50 2014	(r367620)
@@ -139,7 +139,6 @@ lib/libMonoSupportW.so
 lib/libikvm-native.a
 lib/libikvm-native.so
 lib/libmono-2.0.a
-lib/libmono-2.0.la
 lib/libmono-2.0.so
 lib/libmono-2.0.so.1
 lib/libmono-2.0.so.1.0.0

Modified: head/security/cvm/Makefile
==============================================================================
--- head/security/cvm/Makefile	Mon Sep  8 12:20:36 2014	(r367619)
+++ head/security/cvm/Makefile	Mon Sep  8 12:21:50 2014	(r367620)
@@ -3,7 +3,7 @@
 
 PORTNAME=	cvm
 PORTVERSION=	0.96
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security
 MASTER_SITES=	http://untroubled.org/${PORTNAME}/ \
 		http://untroubled.org/${PORTNAME}/archive/
@@ -21,7 +21,6 @@ USES=		libtool:build
 USE_LDCONFIG=	yes
 BGLIBS_INC=	${LOCALBASE}/include/bglibs
 BGLIBS_LIB=	${LOCALBASE}/lib/bglibs
-ALL_TARGET=	all
 
 DOCS=		NEWS README TODO *.html
 

Modified: head/security/cvm/pkg-plist
==============================================================================
--- head/security/cvm/pkg-plist	Mon Sep  8 12:20:36 2014	(r367619)
+++ head/security/cvm/pkg-plist	Mon Sep  8 12:21:50 2014	(r367620)
@@ -23,7 +23,6 @@ include/cvm/sasl.h
 include/cvm/v1client.h
 include/cvm/v2client.h
 lib/libcvm-client.a
-lib/libcvm-client.la
 lib/libcvm-client.so
 lib/libcvm-command.a
 lib/libcvm-command.so



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