summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2009-12-20 01:00:26 +0059
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-20 10:35:07 +0100
commit54d9c42f67b6cc72601ca73bd37563ba078e81b7 (patch)
tree531009669862d20c73349c0aa241fb51c1054dd0
parent39d2849441575a8cc683c215ab32f93eccfd79ab (diff)
infrastructure and demo for one(!) free-format config line per subpackage
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
-rw-r--r--package/linux-atm/Makefile3
-rw-r--r--package/pkgmaker2
2 files changed, 5 insertions, 0 deletions
diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile
index 1ebd2172b..a999be5d6 100644
--- a/package/linux-atm/Makefile
+++ b/package/linux-atm/Makefile
@@ -18,6 +18,9 @@ PKG_DESCR_1:= br2684ctl
PKG_DEPENDS_1:= libatm
PKG_SECTION_1:= net
+CFLINE_LIBATM:= depends on !ADK_HOST_FREEBSD
+CFLINE_BR2684CTL:= depends on !ADK_HOST_FREEBSD
+
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBATM,libatm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
diff --git a/package/pkgmaker b/package/pkgmaker
index 8b2419634..23e2a25a5 100644
--- a/package/pkgmaker
+++ b/package/pkgmaker
@@ -72,6 +72,8 @@ for sd in */Makefile; do
}
done
print \\tselect ADK_COMPILE_$dnu
+ dep=$($GMAKE show=CFLINE_$xu) # one free-format line
+ [[ -n $dep ]] && print "\t$dep"
if [[ -n $pd$ph ]]; then
print \\thelp
[[ -n $pd ]] && print "\t $pd"