aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-03-03 22:10:31 +0800
committertijl <tijl@FreeBSD.org>2014-03-03 22:10:31 +0800
commitbd8a1382025c8e9d7487700fe8c34f77e1ccf4b0 (patch)
treed8d16c888b3e977376533d1b40030058ece0c8f9 /Mk/Uses
parent6c9e66b75bc4f06db3b4fffe8a2e989f8d269356 (diff)
downloadfreebsd-ports-gnome-bd8a1382025c8e9d7487700fe8c34f77e1ccf4b0.tar.gz
freebsd-ports-gnome-bd8a1382025c8e9d7487700fe8c34f77e1ccf4b0.tar.zst
freebsd-ports-gnome-bd8a1382025c8e9d7487700fe8c34f77e1ccf4b0.zip
Further restrict the dragonfly RE so it only matches freebsd* as the first
word on a line. PR: ports/187208
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/libtool.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/libtool.mk b/Mk/Uses/libtool.mk
index aecc226b0993..1a5049de496d 100644
--- a/Mk/Uses/libtool.mk
+++ b/Mk/Uses/libtool.mk
@@ -19,7 +19,7 @@ _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 '/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/' \