diff options
author | jlam <jlam@pkgsrc.org> | 2003-01-06 09:06:09 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-01-06 09:06:09 +0000 |
commit | d8524274948618da9dc01fdc38aaa9c2095025f8 (patch) | |
tree | 609ae28e89773492a8391aeb9b9c8eaf2be4e9b6 /mk/buildlink2 | |
parent | 5adb04fe9b28fdf46e3d0bd4d56909b3922b3e49 (diff) | |
download | pkgsrc-d8524274948618da9dc01fdc38aaa9c2095025f8.tar.gz |
Catch buildlink2 leakage as soon as it happens during the build process.
This will hopefully prevent leakage from ever happening unnoticed.
Diffstat (limited to 'mk/buildlink2')
-rw-r--r-- | mk/buildlink2/libtool-fix-la | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/buildlink2/libtool-fix-la b/mk/buildlink2/libtool-fix-la index b53836f66b1..545c2d3b154 100644 --- a/mk/buildlink2/libtool-fix-la +++ b/mk/buildlink2/libtool-fix-la @@ -1,4 +1,4 @@ -# $NetBSD: libtool-fix-la,v 1.15 2003/01/06 04:30:12 jlam Exp $ +# $NetBSD: libtool-fix-la,v 1.16 2003/01/06 09:06:09 jlam Exp $ # # For *.la files, in the "relink_command" line, we make the following # replacements: @@ -181,5 +181,10 @@ if $test -f $lafile; then ) > ${laifile} @RM@ -f ${laifile}.tmp $echo "==> Fixed $laifile" >> $wrapperlog + if @EGREP@ "${BUILDLINK_X11_DIR}|${BUILDLINK_DIR}" $laifile >/dev/null 2>&1; then + $echo "==> [buildlink2] Error: buildlink2 leakage into $laifile" >> $wrapperlog + $echo "==> [buildlink2] Error: buildlink2 leakage into $laifile" + wrapper_result=1 + fi fi fi |