devel/gzstream: unbreak with libc++ 8
In file included from gzstream.C:29: In file included from ./gzstream.h:33: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:505: In file included from /usr/include/c++/v1/string_view:176: In file included from /usr/include/c++/v1/__string:57: In file included from /usr/include/c++/v1/algorithm:640: In file included from /usr/include/c++/v1/initializer_list:47: In file included from /usr/include/c++/v1/cstddef:38: ./version:1:1: error: expected unqualified-id 1.5 (08 Jan 2003) ^ PR: 236192
This commit is contained in:
parent
c384671491
commit
ca6765e09f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494551
@ -20,11 +20,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
PLIST_FILES= lib/lib${PORTNAME}.so lib/lib${PORTNAME}.so.0 \
|
||||
include/${PORTNAME}.h
|
||||
ALL_TARGET= default
|
||||
CFLAGS+= -fPIC -I.
|
||||
CFLAGS+= -fPIC -iquote.
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/=/?=/;s/\.a/.so/g;s/CPPFL/CXXFL/g;\
|
||||
s/{AR}/{CC} $${CFLAGS} -lz -shared -Wl,-soname=lib${PORTNAME}.so.0 -o/' ${WRKSRC}/${MAKEFILE}
|
||||
@${REINPLACE_CMD} -e '/gzstream\.h/y/<>/""/' ${WRKSRC}/gzstream.C
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.0
|
||||
|
Loading…
Reference in New Issue
Block a user