From d581ad2ae314c2e095b6cdd90f306c7ddbdf97ab Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 21 Oct 2004 17:18:44 +0000 Subject: Only allow LIBTOOLIZE_PLIST=no if USE_LIBTOOL is *not* used, setting BROKEN if both are specified. --- mk/bsd.pkg.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mk') diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 7a9889590da..2a5e83fc668 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1521 2004/10/21 17:00:10 tv Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1522 2004/10/21 17:18:44 tv Exp $ # # This file is in the public domain. # @@ -4962,13 +4962,13 @@ BEGIN { \ # .if ${PLIST_TYPE} == "dynamic" _PLIST_AWK_LIBTOOL?= # empty +.elif empty(LIBTOOLIZE_PLIST:M[yY][eE][sS]) +BROKEN+= "USE_LIBTOOL requires LIBTOOLIZE_PLIST=yes for proper PLIST generation" .else -. if !empty(LIBTOOLIZE_PLIST:M[yY][eE][sS]) _PLIST_AWK_LIBTOOL?= \ /^[^@].*\.la$$/ { \ system("cd ${PREFIX} && ${_PRINT_LA_LIBNAMES} " $$0) \ } -. endif .endif # _PLIST_AWK_SCRIPT hold the complete awk script for plist target. -- cgit v1.2.3