at: disable linking with libpam

In case the host has security/pam_appl.h, the at configure script will
decide to link against libpam, we do not want that.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@39866 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2014-03-11 04:30:14 +00:00
parent 7c8cdeef28
commit 1a9a16e379

View File

@ -1,5 +1,5 @@
# #
# Copyright (C) 2008-2012 OpenWrt.org # Copyright (C) 2008-2014 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=at PKG_NAME:=at
PKG_VERSION:=3.1.13 PKG_VERSION:=3.1.13
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/a/at PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/a/at
@ -41,6 +41,9 @@ CONFIGURE_ARGS+=--prefix=/usr \
--with-jobdir=/var/spool/cron/atjobs \ --with-jobdir=/var/spool/cron/atjobs \
--with-atspool=/var/spool/cron/atspool --with-atspool=/var/spool/cron/atspool
CONFIGURE_VARS += \
ac_cv_header_security_pam_appl_h=no
define Package/at/install define Package/at/install
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/sbin $(1)/etc/init.d/ $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/sbin $(1)/etc/init.d/
$(INSTALL_BIN) ./files/atd.init $(1)/etc/init.d/atd $(INSTALL_BIN) ./files/atd.init $(1)/etc/init.d/atd