diff options
Diffstat (limited to 'lang/ecl/options.mk')
-rw-r--r-- | lang/ecl/options.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/ecl/options.mk b/lang/ecl/options.mk index 792d571586f..bac313e6805 100644 --- a/lang/ecl/options.mk +++ b/lang/ecl/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.3 2010/03/15 05:20:13 asau Exp $ +# $NetBSD: options.mk,v 1.4 2011/02/11 01:28:41 asau Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.ecl PKG_SUPPORTED_OPTIONS+= threads unicode ffi clx @@ -44,3 +44,9 @@ PLIST_VARS+= clx PLIST.${option}= yes . endif .endfor + +# Help generating PLIST: +.if !empty(PKG_OPTIONS:Mclx) +PRINT_PLIST_AWK+= {if ($$0 ~ /lib\/.*\/libclx.a$$/) {$$0 = "$${PLIST.clx}" $$0;}} +PRINT_PLIST_AWK+= {if ($$0 ~ /lib\/.*\/clx.(asd|fas)$$/) {$$0 = "$${PLIST.clx}" $$0;}} +.endif |