aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archivers/unrar/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/archivers/unrar/Makefile b/archivers/unrar/Makefile
index 29f9e119bb34..e25b037b0702 100644
--- a/archivers/unrar/Makefile
+++ b/archivers/unrar/Makefile
@@ -24,6 +24,9 @@ MAKEFILE= makefile.unix
PLIST_FILES= bin/unrar
PORTDOCS= license.txt readme.txt
+post-patch:
+ @${REINPLACE_CMD} -e '/^CXX/ s|^|#|' ${WRKSRC}/${MAKEFILE}
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unrar ${PREFIX}/bin
.if !defined(NOPORTDOCS)