mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
Fix build on powerpc.
PR: ports/146020 (based on) Submitted by: Andreas Tobler andreast-list fgznet ch
This commit is contained in:
parent
812a4ebf4d
commit
7ed3990ecc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=253195
@ -28,7 +28,7 @@ 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}`
|
||||
PTHREAD_LIBS+= `${CC} -dumpspecs | ${SED} -ne '/%{\!pg: %{pthread:/s/^.*%{\!pg: %{pthread:\([^}]*\)}.*$$/\1/p' || ${TRUE}`
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
|
||||
@ -47,8 +47,5 @@ test check: build
|
||||
#.endif
|
||||
#.endif
|
||||
|
||||
.if ${ARCH} == "powerpc"
|
||||
BROKEN= Does not configure on powerpc
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user