aboutsummaryrefslogtreecommitdiff
path: root/security/pam_pwdfile/Makefile
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-02-12 02:31:09 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-02-12 02:31:09 +0000
commit049bbfcaa6857c9222948b18707c76f727e539f3 (patch)
tree973e0afc58c229738889b4876388f12690114ffd /security/pam_pwdfile/Makefile
parentb9ea2ccb3d1ce160632c757c86a95fd554679013 (diff)
downloadports-049bbfcaa6857c9222948b18707c76f727e539f3.tar.gz
ports-049bbfcaa6857c9222948b18707c76f727e539f3.zip
Notes
Diffstat (limited to 'security/pam_pwdfile/Makefile')
-rw-r--r--security/pam_pwdfile/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/pam_pwdfile/Makefile b/security/pam_pwdfile/Makefile
index 1dfc0cb3a57e..6551181cf8b3 100644
--- a/security/pam_pwdfile/Makefile
+++ b/security/pam_pwdfile/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pam_pwdfile
PORTVERSION= 0.99
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://cpbotha.net/files/pam_pwdfile/
@@ -17,9 +18,11 @@ MAKEFILE= ${FILESDIR}/Makefile.bsd
PLIST_FILES= lib/pam_pwdfile.so
PORTDOCS= README INSTALL changelog
+CFLAGS+= -I${WRKSRC}
post-patch:
${REINPLACE_CMD} -e 's|#include <features.h>||g' ${WRKSRC}/pam_pwdfile.c
+ ${CP} ${FILESDIR}/_pam_macros.h ${WRKSRC}
post-install:
.if !defined(NOPORTDOCS)