git: bb22c91d5859 - 2021Q3 - security/wipe: wipe(1) reference to wrong path

Fernando Apesteguía fernape at FreeBSD.org
Wed Aug 25 16:33:44 UTC 2021


The branch 2021Q3 has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bb22c91d585999f63e1381b9979d86c56841561e

commit bb22c91d585999f63e1381b9979d86c56841561e
Author:     Fernando Apesteguía <fernape at FreeBSD.org>
AuthorDate: 2021-08-25 16:03:49 +0000
Commit:     Fernando Apesteguía <fernape at FreeBSD.org>
CommitDate: 2021-08-25 16:26:55 +0000

    security/wipe: wipe(1) reference to wrong path
    
    Replace hardcoded path in post-patch.
    
    PR:     258016
    Reported by:    grahamperrin at gmail.com
    MFH:    2021Q3
    
    (cherry picked from commit a08413affec93df8ee93db17e8d046d0d1dd06e7)
---
 security/wipe/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/security/wipe/Makefile b/security/wipe/Makefile
index 35c52bc6b75a..d532f39a4796 100644
--- a/security/wipe/Makefile
+++ b/security/wipe/Makefile
@@ -21,6 +21,7 @@ OPTIONS_DEFINE=	DOCS
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|@CFLAGS@|${CFLAGS}|' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e 's|/usr/doc/wipe|${DOCSDIR}|' ${WRKSRC}/wipe.1
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin


More information about the dev-commits-ports-branches mailing list