aboutsummaryrefslogtreecommitdiffstats
path: root/security/pam_abl
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-11-21 02:49:02 +0800
committermiwi <miwi@FreeBSD.org>2009-11-21 02:49:02 +0800
commiteb41cd0b3962a63aa280acfc42d9424c22ea46a6 (patch)
tree20f1425dd5f390faa1be0853e0eec0f66d215f11 /security/pam_abl
parentb7b256488b96846bef64dbc2f7b27f85b494fc60 (diff)
downloadfreebsd-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/Makefile1
-rw-r--r--security/pam_abl/files/patch-Makefile4
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
to 4.0.0.stephen2016-01-131-0/+1 * remove empty pkg-plistpgollucci2015-08-211-1/+0 * - Update to 1.1.5.stephen2015-07-042-5/+4 * - Update graphics/proj to 4.9.1wen2015-06-151-1/+1 * Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla intijl2014-12-091-1/+1 * Update the default version of GCC in the Ports Collection from GCC 4.7.4gerald2014-09-111-1/+1 * Modernize LIB_DEPENDSbapt2014-07-151-1/+1 * - Set license_file.stephen2014-06-231-0/+1 * Update the default version of GCC used in the Ports Collection fromgerald2014-03-111-1/+1 * Convert all USE_FORTRAN=yes to "USES=fortran, USE_GCC=yes". In most casestijl2014-02-171-1/+1 * - Add license=GPLv3.stephen2014-01-131-0/+2 * - Implement staging for octave-forge ports.stephen2014-01-131-1/+0 * Update to libmpc version 1.0.1 which brings the following fixes:gerald2013-10-261-0/+1 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1 * - Remove .include <bsd.ports.pre.mk>; bsd.ports.post.mk to bsd.ports.mk;stephen2013-07-061-3/+3 * - Update to 1.1.2.stephen2012-10-042-9/+4 * - update png to 1.5.10dinoex2012-06-011-0/+1 * - Update to 1.1.0.stephen2012-04-132-4/+3 * Bump port revision of all the octave-forge ports,maho2012-04-111-1/+1 * - Cosmetic change to Makefile. Use the variable OCTSRC to describe where thestephen2011-11-211-2/+6 * - Bump portrevision for octave-forge-* ports because of update ofstephen2011-07-011-1/+1 * - Bump portrevision because math/octave updated to 3.4.1stephen2011-06-241-2/+4 * - Minor style changestephen2011-06-211-1/+1 * Removed Files:stephen2011-06-151-32/+0 * Maintainer: stephen@missouri.edu -> stephen@FreeBSD.orgstephen2011-06-141-1/+1 * - Update to 1.0.2miwi2011-05-312-3/+6 * - Get Rid MD5 supportmiwi2011-03-201-1/+0