mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
phics/pcdtojpeg: Disable threads
PR: 284349
This commit is contained in:
parent
1282dc9123
commit
c382c1acad
1 changed files with 4 additions and 2 deletions
|
@ -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/
|
||||
|
|
Loading…
Add table
Reference in a new issue