diff options
author | miwi <miwi@FreeBSD.org> | 2009-11-21 02:49:02 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-11-21 02:49:02 +0800 |
commit | eb41cd0b3962a63aa280acfc42d9424c22ea46a6 (patch) | |
tree | 20f1425dd5f390faa1be0853e0eec0f66d215f11 /security/pam_abl | |
parent | b7b256488b96846bef64dbc2f7b27f85b494fc60 (diff) | |
download | freebsd-ports-gnome-eb41cd0b3962a63aa280acfc42d9424c22ea46a6.tar.gz freebsd-ports-gnome-eb41cd0b3962a63aa280acfc42d9424c22ea46a6.tar.zst freebsd-ports-gnome-eb41cd0b3962a63aa280acfc42d9424c22ea46a6.zip |
- Respect PREFIX
PR: 140152
Submitted by: Petr Rehor <prehor@gmail.com> (maintainer)
Diffstat (limited to 'security/pam_abl')
-rw-r--r-- | security/pam_abl/Makefile | 1 | ||||
-rw-r--r-- | security/pam_abl/files/patch-Makefile | 4 |
2 files changed, 3 insertions, 2 deletions
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|<db.h>|<${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 |