summaryrefslogtreecommitdiff
path: root/package/libdaemon
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-06 18:48:54 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-06 18:48:54 +0100
commit43255b790d08156bb6474e0ca72c9a3440bd4302 (patch)
treea4135095572054b779a3e808739277aa71f15436 /package/libdaemon
parent426e6ef0749fcc407512f130d463019334b8886c (diff)
document and fix setpgrp overwrite
not all packages do the right overwrite of this variable. uClibc does not need any arguments to setpgrp function. Finetune package template accordingly.
Diffstat (limited to 'package/libdaemon')
-rw-r--r--package/libdaemon/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/package/libdaemon/Makefile b/package/libdaemon/Makefile
index 587a76ef4..1e5eaeae5 100644
--- a/package/libdaemon/Makefile
+++ b/package/libdaemon/Makefile
@@ -14,16 +14,17 @@ PKG_SITES:= http://0pointer.de/lennart/projects/libdaemon/
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBDAEMON,libdaemon,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBDAEMON,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_STYLE= gnu
+CONFIGURE_STYLE:= gnu
+# uClibc setpgrp does not take arguments
CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
CONFIGURE_ARGS+= --disable-lynx
-BUILD_STYLE= auto
-INSTALL_STYLE= auto confprog
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
post-install:
${INSTALL_DIR} ${IDIR_LIBDAEMON}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libdaemon.so.* ${IDIR_LIBDAEMON}/usr/lib/
+ ${CP} ${WRKINST}/usr/lib/libdaemon.so* ${IDIR_LIBDAEMON}/usr/lib/
include ${TOPDIR}/mk/pkg-bottom.mk