Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2014 13:14:07 +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: r346763 - head/Mk/Uses
Message-ID:  <201403021314.s22DE7UH078623@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sun Mar  2 13:14:07 2014
New Revision: 346763
URL: http://svnweb.freebsd.org/changeset/ports/346763
QAT: https://qat.redports.org/buildarchive/r346763/

Log:
  In libtool.mk, let the regexp for DragonFly BSD support match both
  "freebsd*)" and "freebsd* ", and add "dragonfly*" only if it isn't there
  already.
  
  Approved by:	bapt

Modified:
  head/Mk/Uses/libtool.mk

Modified: head/Mk/Uses/libtool.mk
==============================================================================
--- head/Mk/Uses/libtool.mk	Sun Mar  2 13:13:27 2014	(r346762)
+++ head/Mk/Uses/libtool.mk	Sun Mar  2 13:14:07 2014	(r346763)
@@ -19,10 +19,10 @@ _INCLUDE_USES_LIBTOOL_POST_MK=	yes
 patch-libtool:
 	@${FIND} ${WRKDIR} \( -name configure -or -name ltconfig \)	\
 		-type f | ${XARGS} ${REINPLACE_CMD}			\
+		-e '/dragonfly\*/!s/freebsd\*[ )]/dragonfly* | &/'	\
 		-e '/gcc_dir=\\`/s/gcc /$$CC /'				\
 		-e '/gcc_ver=\\`/s/gcc /$$CC /'				\
 		-e '/link_all_deplibs[0-9A-Z_]*=/s/=unknown/=no/'	\
-		-e 's,freebsd\*),freebsd\*|dragonfly\*),g'		\
 		-e '/objformat=/s/echo aout/echo elf/'			\
 		-e "/freebsd-elf\\*)/,/;;/ {				\
 		    /deplibs_check_method=/s/=.*/=pass_all/; }"	



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