From eb41cd0b3962a63aa280acfc42d9424c22ea46a6 Mon Sep 17 00:00:00 2001 From: miwi Date: Fri, 20 Nov 2009 18:49:02 +0000 Subject: - Respect PREFIX PR: 140152 Submitted by: Petr Rehor (maintainer) --- security/pam_abl/Makefile | 1 + security/pam_abl/files/patch-Makefile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'security/pam_abl') diff --git a/security/pam_abl/Makefile b/security/pam_abl/Makefile index 6bfa83f1f4f6..5c9003ed443e 100644 --- a/security/pam_abl/Makefile +++ b/security/pam_abl/Makefile @@ -44,6 +44,7 @@ SUB_LIST+= ETCPREFIX=${ETCPREFIX} SED_SCRIPT= -e 's||<${BDB_INCLUDE_DIR}/db.h>|' \ -e 's|-ldb|-l${BDB_LIB_NAME}|' \ -e 's|%%PREFIX%%|${PREFIX}|' \ + -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ -e 's|%%ETCPREFIX%%|${ETCPREFIX}|' \ -e 's|%%PAMABLDB%%|${PAMABLDB}|' diff --git a/security/pam_abl/files/patch-Makefile b/security/pam_abl/files/patch-Makefile index 2e2c9c99ee0e..633b85f7d9c2 100644 --- a/security/pam_abl/files/patch-Makefile +++ b/security/pam_abl/files/patch-Makefile @@ -9,11 +9,11 @@ -CONFDIR=/etc/security -DBDIR=/var/lib/abl -LIBS=-ldb -lpthread -+CFLAGS=-Wall -fPIC -I/usr/local/include ++CFLAGS=-Wall -fPIC -I%%PREFIX%%/include -I%%LOCALBASE%%/include +PAMDIR=%%PREFIX%%/lib +CONFDIR=%%ETCPREFIX%%/etc +DBDIR=%%PAMABLDB%% -+LIBS=-L/usr/local/lib -ldb -lpthread ++LIBS=-L%%PREFIX%%/lib -L%%LOCALBASE%% -ldb -lpthread MODULE=pam_abl.so OBJ=pam_abl.o log.o config.o rule.o SUBDIRS=tools -- cgit