pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Only allow LIBTOOLIZE_PLIST=no if USE_LIBTOOL is *n...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f2b411becfd
branches:  trunk
changeset: 482190:8f2b411becfd
user:      tv <tv%pkgsrc.org@localhost>
date:      Thu Oct 21 17:18:44 2004 +0000

description:
Only allow LIBTOOLIZE_PLIST=no if USE_LIBTOOL is *not* used, setting BROKEN
if both are specified.

diffstat:

 mk/bsd.pkg.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 8615262c2bf4 -r 8f2b411becfd mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Thu Oct 21 17:00:10 2004 +0000
+++ b/mk/bsd.pkg.mk     Thu Oct 21 17:18:44 2004 +0000
@@ -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 @@
 #
 .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.



Home | Main Index | Thread Index | Old Index