aboutsummaryrefslogtreecommitdiffstats
path: root/security/pam_smb
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2003-08-30 04:45:45 +0800
committerobraun <obraun@FreeBSD.org>2003-08-30 04:45:45 +0800
commitc705cc5ad9362cb67bd19eb9b08788ad5f5ebf2b (patch)
tree6eac23bb46e741cd572a42b0329f1e4c694613f2 /security/pam_smb
parent26a1c465e724b70064f697ab43bfd427475d3334 (diff)
downloadfreebsd-ports-gnome-c705cc5ad9362cb67bd19eb9b08788ad5f5ebf2b.tar.gz
freebsd-ports-gnome-c705cc5ad9362cb67bd19eb9b08788ad5f5ebf2b.tar.zst
freebsd-ports-gnome-c705cc5ad9362cb67bd19eb9b08788ad5f5ebf2b.zip
* Add -DPIC to SHLIB_CFLAGS.
* Bump PORTREVISION. PR: ports/56131 Submitted by: René Scholz <scholz@kids-und-co.de> Fix obtained from: Dave Airlie <airlied@samba.org> (developer)
Diffstat (limited to 'security/pam_smb')
-rw-r--r--security/pam_smb/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/pam_smb/Makefile b/security/pam_smb/Makefile
index 6fc4021a871f..47834b97e570 100644
--- a/security/pam_smb/Makefile
+++ b/security/pam_smb/Makefile
@@ -6,6 +6,7 @@
PORTNAME= pam_smb
PORTVERSION= 2.0.0.r5
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://pamsmb.sourceforge.net/v2/ \
http://www.csn.ul.ie/~airlied/pam_smb/v2/
@@ -25,6 +26,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
post-patch:
@${REINPLACE_CMD} -e s,%%PREFIX%%,${PREFIX}, ${WRKSRC}/pamsmbd/pam_read_conf.c
+ @${REINPLACE_CMD} -e "s,-fPIC,-fPIC -DPIC," \
+ ${WRKSRC}/configure ${WRKSRC}/configure.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pamsmbd/pamsmbd ${PREFIX}/sbin/