git: c382c1acad90 - main - phics/pcdtojpeg: Disable threads
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 26 Jan 2025 17:34:02 UTC
The branch main has been updated by dinoex:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c382c1acad907247e2f8dce35248a83cd5ce77c6
commit c382c1acad907247e2f8dce35248a83cd5ce77c6
Author: Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2025-01-26 17:33:48 +0000
Commit: Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2025-01-26 17:33:48 +0000
phics/pcdtojpeg: Disable threads
PR: 284349
---
graphics/pcdtojpeg/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/graphics/pcdtojpeg/Makefile b/graphics/pcdtojpeg/Makefile
index 075b988149a3..734b663bd836 100644
--- a/graphics/pcdtojpeg/Makefile
+++ b/graphics/pcdtojpeg/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pcdtojpeg
DISTVERSION= 1_0_17
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
DISTNAME= ${PORTNAME}_${DISTVERSION}
@@ -12,15 +13,16 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/../gpl.txt
USES= zip localbase:ldflags jpeg
+CXXFLAGS+= -DmNoPThreads
WRKSRC_SUBDIR= src
-LIBS+= -ljpeg -lpthread
+LIBS+= -ljpeg
DOCLIST= Documentation Documentation.html ReadMe.txt Release.txt
OPTIONS_DEFINE= DOCS
do-build:
(cd ${WRKSRC} && \
- ${CXX} ${CPPFLAGS} ${CXXFLASG} ${LDFLAGS} ${LIBS} -o ${PORTNAME} main.cpp pcdDecode.cpp)
+ ${CXX} ${CPPFLAGS} ${CXXFLAGS} ${LDFLAGS} ${LIBS} -o ${PORTNAME} main.cpp pcdDecode.cpp)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/