- Fix build with GCC46
PR: 163296 Submitted by: Jan Beich <jbeich@tormail.net> Approved by: maintainer timeout
This commit is contained in:
parent
e0cb3d4319
commit
5bab0323a8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289198
1 changed files with 0 additions and 6 deletions
|
@ -30,9 +30,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
VDPAU_PTHREAD_LIBS!= ${CC} -dumpspecs | ${GREP} -m 1 pthread: | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE}
|
||||
|
||||
|
||||
.if !defined(WITH_DEBUG)
|
||||
CONFIGURE_ARGS+= --disable-debug
|
||||
.endif
|
||||
|
@ -47,8 +44,5 @@ post-patch: .SILENT
|
|||
-e 's|driverdir|& --define-variable prefix=${PREFIX}|' \
|
||||
-e '/\^vdpau_version/s|$$CC -E|& ${CPPFLAGS}|' \
|
||||
${WRKSRC}/configure
|
||||
${REINPLACE_CMD} 's/^vdpau.*LDFLAGS.*/& \
|
||||
-Wl,-lc ${VDPAU_PTHREAD_LIBS:S/^/-Wl,/}/' \
|
||||
${WRKSRC}/src/Makefile.in
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue