diff options
author | joerg <joerg@pkgsrc.org> | 2011-11-13 23:09:17 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-11-13 23:09:17 +0000 |
commit | 9d4d69a811d2eaba0e32a98af1a969fc5e5c1af2 (patch) | |
tree | 022d78dc9624313af9daff3ad43331ff843d28db /mk/misc | |
parent | b0e36d531a96ecce455cc7e83b8cdfc8b3193c5d (diff) | |
download | pkgsrc-9d4d69a811d2eaba0e32a98af1a969fc5e5c1af2.tar.gz |
Use first entry of CATEGORIES as default CATEGORY.
Diffstat (limited to 'mk/misc')
-rw-r--r-- | mk/misc/import.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/misc/import.mk b/mk/misc/import.mk index 5ae8761a1cd..bc9692085a1 100644 --- a/mk/misc/import.mk +++ b/mk/misc/import.mk @@ -1,4 +1,4 @@ -# $NetBSD: import.mk,v 1.4 2011/11/13 23:04:41 joerg Exp $ +# $NetBSD: import.mk,v 1.5 2011/11/13 23:09:17 joerg Exp $ # # import: @@ -37,6 +37,7 @@ _IMPORT_FROM+= from pkgsrc-wip .else _IMPORT_ERRORS+= "[import.mk] You must set FROM." .endif +CATEGORY?= ${CATEGORIES:[1]} .if ${CATEGORY:U} == "" _IMPORT_ERRORS+= "[import.mk] You must set CATEGORY." .endif |