git: 6ec34748c118 - main - archivers/qpress: fix compilation warning
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Jun 2023 21:05:29 UTC
The branch main has been updated by samm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6ec34748c1184f9e5dc978febdf52f08c132348c
commit 6ec34748c1184f9e5dc978febdf52f08c132348c
Author: Oleksii Samorukov <samm@FreeBSD.org>
AuthorDate: 2023-06-06 21:04:08 +0000
Commit: Oleksii Samorukov <samm@FreeBSD.org>
CommitDate: 2023-06-06 21:04:08 +0000
archivers/qpress: fix compilation warning
- do not bump port revision as it is a cosmetic bug without impact on
the build result
---
archivers/qpress/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/archivers/qpress/Makefile b/archivers/qpress/Makefile
index 650017e65dd9..9e2a00a849c5 100644
--- a/archivers/qpress/Makefile
+++ b/archivers/qpress/Makefile
@@ -17,8 +17,7 @@ PLIST_FILES= bin/qpress
do-build:
cd ${WRKSRC} && \
- ${CXX} ${CXXFLAGS} -o qpress qpress.cpp aio.cpp quicklz.c utilities.cpp -lpthread
-
+ ${CXX} ${CXXFLAGS} -o qpress -x c quicklz.c -x c++ qpress.cpp aio.cpp utilities.cpp -lpthread
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qpress ${STAGEDIR}${PREFIX}/bin