1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

USE_REINPLACE conversion to get rid of Perl

See http://bento.freebsd.org/errorlogs/5-latest/pam_smb-1.9.9_1.log
This commit is contained in:
Edwin Groothuis 2002-11-03 21:35:39 +00:00
parent f28dd4e43c
commit 76da8ac4d6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69380

View File

@ -14,6 +14,7 @@ MAINTAINER= ports@FreeBSD.org
USE_AUTOCONF_VER=213
USE_GMAKE= yes
USE_REINPLACE= yes
STARTUP_SCRIPT= pam_smbd.sh.sample
WRKSRC= ${WRKDIR}/${PORTNAME}
@ -21,7 +22,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.pre.mk>
post-patch:
${PERL} -pi -e s,%%PREFIX%%,${PREFIX}, ${WRKSRC}/pamsmbd/pam_read_conf.c
@${REINPLACE_CMD} -e s,%%PREFIX%%,${PREFIX}, ${WRKSRC}/pamsmbd/pam_read_conf.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pamsmbd/pamsmbd ${PREFIX}/sbin/