Changeset View
Changeset View
Standalone View
Standalone View
sysutils/pam_mount/Makefile
Show All 26 Lines | CONFIGURE_ARGS+=--localstatedir=/var \ | ||||
--without-cryptsetup \ | --without-cryptsetup \ | ||||
--with-ssbindir=${PREFIX}/sbin | --with-ssbindir=${PREFIX}/sbin | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${SSL_DEFAULT} == base | .if ${SSL_DEFAULT} == base | ||||
BROKEN_FreeBSD_12= variable has incomplete type 'EVP_CIPHER_CTX' (aka 'struct evp_cipher_ctx_st') | BROKEN_FreeBSD_12= variable has incomplete type 'EVP_CIPHER_CTX' (aka 'struct evp_cipher_ctx_st') | ||||
BROKEN_FreeBSD_13= variable has incomplete type 'EVP_CIPHER_CTX' (aka 'struct evp_cipher_ctx_st') | BROKEN_FreeBSD_13= variable has incomplete type 'EVP_CIPHER_CTX' (aka 'struct evp_cipher_ctx_st') | ||||
BROKEN_FreeBSD_14= variable has incomplete type 'EVP_CIPHER_CTX' (aka 'struct evp_cipher_ctx_st') | |||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/src/pam_mount.c | ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/src/pam_mount.c | ||||
${REINPLACE_CMD} -e '/dist_security_DATA/s|\.xml$$|.xml.sample|' \ | ${REINPLACE_CMD} -e '/dist_security_DATA/s|\.xml$$|.xml.sample|' \ | ||||
${WRKSRC}/config/Makefile.am ${WRKSRC}/config/Makefile.in | ${WRKSRC}/config/Makefile.am ${WRKSRC}/config/Makefile.in | ||||
${MV} ${WRKSRC}/config/pam_mount.conf.xml ${WRKSRC}/config/pam_mount.conf.xml.sample | ${MV} ${WRKSRC}/config/pam_mount.conf.xml ${WRKSRC}/config/pam_mount.conf.xml.sample | ||||
${FIND} ${WRKSRC} -name "*.c" -exec ${REINPLACE_CMD} -e 's|HXformat2_aprintf|HXformat_aprintf|g' {} \; | ${FIND} ${WRKSRC} -name "*.c" -exec ${REINPLACE_CMD} -e 's|HXformat2_aprintf|HXformat_aprintf|g' {} \; | ||||
post-install: | post-install: | ||||
@${RMDIR} ${STAGEDIR}${PREFIX}/share/xml/pam_mount/dtd | @${RMDIR} ${STAGEDIR}${PREFIX}/share/xml/pam_mount/dtd | ||||
@${RMDIR} ${STAGEDIR}${PREFIX}/share/xml/pam_mount/ | @${RMDIR} ${STAGEDIR}${PREFIX}/share/xml/pam_mount/ | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |