diff options
author | tv <tv@pkgsrc.org> | 2004-10-21 17:18:44 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-10-21 17:18:44 +0000 |
commit | d581ad2ae314c2e095b6cdd90f306c7ddbdf97ab (patch) | |
tree | 2e8d311824b31b0cb77e9a759892ec776a262a31 /mk | |
parent | 10bbfcf5b11c6f1663fa3edef5ee830459cce129 (diff) | |
download | pkgsrc-d581ad2ae314c2e095b6cdd90f306c7ddbdf97ab.tar.gz |
Only allow LIBTOOLIZE_PLIST=no if USE_LIBTOOL is *not* used, setting BROKEN
if both are specified.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 6 |
1 files changed, 3 insertions, 3 deletions
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. |