mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
- Explicitely link with threads library, otherwise it was impossible to link with -lIlmImf (and dependent libraries as well) without -pthread
PR: 133291 Submitted by: myself Approved by: maintainer timeout
This commit is contained in:
parent
30c04da909
commit
eb50e03a96
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241024
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= OpenEXR
|
||||
PORTVERSION= 1.6.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
DISTNAME= ${PORTNAME:L}-${PORTVERSION}
|
||||
CATEGORIES= graphics devel
|
||||
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
||||
@ -26,6 +26,10 @@ GNU_CONFIGURE= YES
|
||||
|
||||
CONFIGURE_ARGS+=--enable-imfexamples
|
||||
|
||||
# must be explicitely linked with -l{thr|pthread}
|
||||
CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS}"
|
||||
PTHREAD_LIBS+= `${CC} -dumpspecs | ${GREP} -m 1 pthread | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE}`
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
|
||||
test check: build
|
||||
|
Loading…
x
Reference in New Issue
Block a user