svn commit: r494551 - head/devel/gzstream
Jan Beich
jbeich at FreeBSD.org
Mon Mar 4 05:47:20 UTC 2019
Author: jbeich
Date: Mon Mar 4 05:47:19 2019
New Revision: 494551
URL: https://svnweb.freebsd.org/changeset/ports/494551
Log:
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
Modified:
head/devel/gzstream/Makefile (contents, props changed)
Modified: head/devel/gzstream/Makefile
==============================================================================
--- head/devel/gzstream/Makefile Mon Mar 4 05:38:22 2019 (r494550)
+++ head/devel/gzstream/Makefile Mon Mar 4 05:47:19 2019 (r494551)
@@ -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
More information about the svn-ports-head
mailing list