diff options
author | jlam <jlam> | 2007-10-25 22:00:39 +0000 |
---|---|---|
committer | jlam <jlam> | 2007-10-25 22:00:39 +0000 |
commit | 496d61914b2bd77dabbd4fde285e9fb90c0f265f (patch) | |
tree | c90ec620445350ca4c742747e452c31b2a96cf95 /meta-pkgs/modular-xorg-libs | |
parent | 0ffc56e029bd8ecf5e9123c88c7620e6dddd40a6 (diff) | |
download | pkgsrc-496d61914b2bd77dabbd4fde285e9fb90c0f265f.tar.gz |
* 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
Diffstat (limited to 'meta-pkgs/modular-xorg-libs')
-rw-r--r-- | meta-pkgs/modular-xorg-libs/Makefile | 6 | ||||
-rw-r--r-- | meta-pkgs/modular-xorg-libs/PLIST | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/meta-pkgs/modular-xorg-libs/Makefile b/meta-pkgs/modular-xorg-libs/Makefile index d8177d9d602..ae679b753d5 100644 --- a/meta-pkgs/modular-xorg-libs/Makefile +++ b/meta-pkgs/modular-xorg-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/08/16 01:45:24 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2007/10/25 22:00:54 jlam Exp $ DISTNAME= # empty PKGNAME= modular-xorg-libs-1.0 @@ -49,10 +49,10 @@ PKG_DESTDIR_SUPPORT= user-destdir .include "../../x11/libxkbfile/buildlink3.mk" .include "../../x11/libxkbui/buildlink3.mk" -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-libs/PLIST b/meta-pkgs/modular-xorg-libs/PLIST deleted file mode 100644 index 8ff1b2a0eda..00000000000 --- a/meta-pkgs/modular-xorg-libs/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 |