From a3655de8a48ac18c093d91361843aac73e8475f4 Mon Sep 17 00:00:00 2001 From: Andy Boyett Date: Fri, 17 Oct 2008 07:41:26 +0000 Subject: [PATCH] [packages] utils/at: explicitly pass jobdir and spooldir to configure - Fixes compilation on hosts without at or cron installed - Should fix problems where host location of above dirs varies from OpenWrt location - Also add PKG_RELEASE var to makefile SVN-Revision: 12998 --- utils/at/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/utils/at/Makefile b/utils/at/Makefile index f793ffadb9..3f438b23c8 100644 --- a/utils/at/Makefile +++ b/utils/at/Makefile @@ -1,4 +1,4 @@ -# +# # Copyright (C) 2008 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. @@ -10,6 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=at PKG_VERSION:=3.1.10ubuntu4 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://archive.ubuntu.com/ubuntu/pool/main/a/at @@ -33,7 +34,8 @@ endef export SENDMAIL=/bin/true EXTRA_CFLAGS:=-DNEED_YYWRAP -I$(PKG_BUILD_DIR) -I$(STAGING_DIR)/usr/include/libelf \ -L$(STAGING_DIR)/usr/lib -CONFIGURE_ARGS+=--with-daemon_username=nobody --with-daemon_groupname=nogroup +CONFIGURE_ARGS+=--with-daemon_username=nobody --with-daemon_groupname=nogroup \ + --with-jobdir=/var/spool/cron/atjobs --with-atspool=/var/spool/cron/atspool define Package/at/install $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/sbin $(1)/etc/init.d/ -- 2.30.2