pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Add a dummy describe-options target for package not...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8e1a2e51f6b4
branches:  trunk
changeset: 493523:8e1a2e51f6b4
user:      dillo <dillo%pkgsrc.org@localhost>
date:      Sun May 08 13:52:25 2005 +0000

description:
Add a dummy describe-options target for package not using the
options framework.

diffstat:

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

diffs (24 lines):

diff -r 0480e55a50c1 -r 8e1a2e51f6b4 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Sun May 08 13:52:17 2005 +0000
+++ b/mk/bsd.pkg.mk     Sun May 08 13:52:25 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1629 2005/05/07 22:17:40 wiz Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1630 2005/05/08 13:52:25 dillo Exp $
 #
 # This file is in the public domain.
 #
@@ -4375,6 +4375,14 @@
        fi
 .endif
 
+# This target is defined in bsd.options.mk for packages that use
+# the options framework.
+.if !target(describe-options)
+.PHONY: describe-options
+describe-options:
+       @${ECHO} This package does not use the options framework.
+.endif
+
 # Stat all the files of one pkg and sum the sizes up.
 #
 # XXX This is intended to be run before pkg_create is called, so the



Home | Main Index | Thread Index | Old Index