From 3e3c8a4d17fe61d8cd0875ca670f2674b5ad48c5 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 --- x11/qt2/Makefile | 3 ++- x11/qt2/PLIST | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 x11/qt2/PLIST (limited to 'x11/qt2') diff --git a/x11/qt2/Makefile b/x11/qt2/Makefile index 6477425b4d6..c9c11f0e04d 100644 --- a/x11/qt2/Makefile +++ b/x11/qt2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2006/02/05 23:11:42 joerg Exp $ +# $NetBSD: Makefile,v 1.19 2007/10/25 22:01:09 jlam Exp $ # DISTNAME= qt2-${QTVERSION} @@ -21,6 +21,7 @@ EXTRACT_ONLY= # empty NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes +PLIST_SRC= # empty (meta-package) do-install: # empty diff --git a/x11/qt2/PLIST b/x11/qt2/PLIST deleted file mode 100644 index 6b40df15634..00000000000 --- a/x11/qt2/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.3 2007/10/25 17:50:01 jlam Exp $ -@comment this plist intentionally left empty -- cgit v1.2.3