From ae9b935fd018aee0bd2410c581458d429b05b38b Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 25 Oct 2007 22:00:39 +0000 Subject: * If PLIST_SRC is explicitly set to an empty value in a package Makefile, then automatically generate a PLIST that says "${PKGNAME} has no files". * If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile, and no PLIST files exist, then fail during the package build with PKG_FAIL_REASON. * Remove "intentionally empty" PLISTs again. Now, the easy way to say that a package installs no files is to just add the following to the package Makefile: PLIST_SRC= # empty --- meta-pkgs/modular-xorg-apps/Makefile | 6 +++--- meta-pkgs/modular-xorg-apps/PLIST | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 meta-pkgs/modular-xorg-apps/PLIST (limited to 'meta-pkgs/modular-xorg-apps') diff --git a/meta-pkgs/modular-xorg-apps/Makefile b/meta-pkgs/modular-xorg-apps/Makefile index c484677b8af..fa818304c6f 100644 --- a/meta-pkgs/modular-xorg-apps/Makefile +++ b/meta-pkgs/modular-xorg-apps/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/09/14 00:30:11 simonb Exp $ +# $NetBSD: Makefile,v 1.8 2007/10/25 22:00:53 jlam Exp $ DISTNAME= # empty PKGNAME= modular-xorg-apps-1.4 @@ -62,10 +62,10 @@ DEPENDS+= xwininfo-[0-9]*:../../x11/xwininfo DEPENDS+= xwd-[0-9]*:../../x11/xwd DEPENDS+= xwud-[0-9]*:../../x11/xwud -NO_BUILD= yes NO_CHECKSUM= yes -NO_MTREE= yes NO_CONFIGURE= yes +NO_BUILD= yes +PLIST_SRC= # empty (meta-package) do-install: diff --git a/meta-pkgs/modular-xorg-apps/PLIST b/meta-pkgs/modular-xorg-apps/PLIST deleted file mode 100644 index 8ff1b2a0eda..00000000000 --- a/meta-pkgs/modular-xorg-apps/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:49:53 jlam Exp $ -@comment this plist intentionally left empty -- cgit v1.2.3