diff options
author | joerg <joerg> | 2011-11-13 23:09:17 +0000 |
---|---|---|
committer | joerg <joerg> | 2011-11-13 23:09:17 +0000 |
commit | 29edb6a02df5cae62a5b4e86a24ec823293e80d3 (patch) | |
tree | 022d78dc9624313af9daff3ad43331ff843d28db /mk/misc | |
parent | ddbd85214ec7be8a3da425019f8d6c5460b24206 (diff) | |
download | pkgsrc-29edb6a02df5cae62a5b4e86a24ec823293e80d3.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 |