diff options
author | jlam <jlam@pkgsrc.org> | 2007-10-25 22:00:39 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-10-25 22:00:39 +0000 |
commit | ae9b935fd018aee0bd2410c581458d429b05b38b (patch) | |
tree | c90ec620445350ca4c742747e452c31b2a96cf95 /lang | |
parent | 84cf6490a4fd5185ef689e72a77e137737f650bd (diff) | |
download | pkgsrc-ae9b935fd018aee0bd2410c581458d429b05b38b.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 'lang')
-rw-r--r-- | lang/gcc3/Makefile | 3 | ||||
-rw-r--r-- | lang/gcc3/PLIST | 2 | ||||
-rw-r--r-- | lang/ruby18/Makefile | 3 | ||||
-rw-r--r-- | lang/ruby18/PLIST | 2 | ||||
-rw-r--r-- | lang/swi-prolog/Makefile | 4 | ||||
-rw-r--r-- | lang/swi-prolog/PLIST | 2 |
6 files changed, 6 insertions, 10 deletions
diff --git a/lang/gcc3/Makefile b/lang/gcc3/Makefile index 4dc773678af..e49bbf123e3 100644 --- a/lang/gcc3/Makefile +++ b/lang/gcc3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.61 2006/12/07 11:24:27 markd Exp $ +# $NetBSD: Makefile,v 1.62 2007/10/25 22:00:47 jlam Exp $ GCC_VERSION= 3.3.6 DISTNAME= gcc3-${GCC_VERSION} @@ -22,6 +22,7 @@ EXTRACT_ONLY= # empty NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes +PLIST_SRC= # empty (meta-package) do-patch: # empty do-install: # empty diff --git a/lang/gcc3/PLIST b/lang/gcc3/PLIST deleted file mode 100644 index afc312323fe..00000000000 --- a/lang/gcc3/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.13 2007/10/25 17:49:50 jlam Exp $ -@comment this plist intentionally left empty diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile index 91911c942b2..301ad7830b2 100644 --- a/lang/ruby18/Makefile +++ b/lang/ruby18/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2007/09/09 14:31:45 taca Exp $ +# $NetBSD: Makefile,v 1.18 2007/10/25 22:00:48 jlam Exp $ # DISTNAME= # empty @@ -21,6 +21,7 @@ RUBY_VERSION= ${RUBY18_VERSION} NO_CHECKSUM= yes NO_CONFIGURE= yes NO_BUILD= yes +PLIST_SRC= # empty (meta-package) do-install: @${ECHO_MSG} This is only a meta package. diff --git a/lang/ruby18/PLIST b/lang/ruby18/PLIST deleted file mode 100644 index ced41b7946b..00000000000 --- a/lang/ruby18/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.8 2007/10/25 17:49:50 jlam Exp $ -@comment this plist intentionally left empty diff --git a/lang/swi-prolog/Makefile b/lang/swi-prolog/Makefile index 47abb45a952..8d63e4a8025 100644 --- a/lang/swi-prolog/Makefile +++ b/lang/swi-prolog/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2006/08/30 00:00:30 markd Exp $ +# $NetBSD: Makefile,v 1.40 2007/10/25 22:00:48 jlam Exp $ .include "../../lang/swi-prolog-lite/Makefile.common" @@ -14,7 +14,7 @@ DEPENDS+= swi-prolog-packages-${SWIPLVERS}{,nb[0-9]*}:../../lang/swi-prolog-pac NO_BUILD= yes NO_CHECKSUM= yes NO_CONFIGURE= yes -NO_MTREE= yes +PLIST_SRC= # empty (meta-package) do-install: # empty diff --git a/lang/swi-prolog/PLIST b/lang/swi-prolog/PLIST deleted file mode 100644 index 0833e6a62f7..00000000000 --- a/lang/swi-prolog/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.9 2007/10/25 17:49:50 jlam Exp $ -@comment this plist intentionally left empty |