From owner-svn-ports-head@freebsd.org Thu May 16 04:23:35 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CBEA515AC9B4; Thu, 16 May 2019 04:23:35 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BBAFC8895F; Thu, 16 May 2019 04:23:32 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9C1C61BC42; Thu, 16 May 2019 04:23:30 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4G4NUQD086503; Thu, 16 May 2019 04:23:30 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4G4NUv9086502; Thu, 16 May 2019 04:23:30 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201905160423.x4G4NUv9086502@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Thu, 16 May 2019 04:23:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501768 - head/devel/gzstream X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/devel/gzstream X-SVN-Commit-Revision: 501768 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: BBAFC8895F X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.970,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 May 2019 04:23:36 -0000 Author: tobik Date: Thu May 16 04:23:30 2019 New Revision: 501768 URL: https://svnweb.freebsd.org/changeset/ports/501768 Log: devel/gzstream: Link with ${CXX} libgzstream is a C++ library so should be linked with libc++. This should unbreak consumers like audio/pianod2 after base r345349. Also use INSTALL_LIB to install the library and make the build respect LDFLAGS. ld: error: /usr/local/lib/libgzstream.so: undefined reference to std::__1::basic_streambuf >::imbue(std::__1::locale const&) ... ld: error: /usr/local/lib/libgzstream.so: undefined reference to std::__1::ios_base::init(void*) ld: error: /usr/local/lib/libgzstream.so: undefined reference to std::__1::basic_ios >::~basic_ios() ld: error: /usr/local/lib/libgzstream.so: undefined reference to typeinfo for std::__1::basic_streambuf > ld: error: /usr/local/lib/libgzstream.so: undefined reference to typeinfo for std::__1::basic_ios > ld: error: /usr/local/lib/libgzstream.so: undefined reference to vtable for __cxxabiv1::__vmi_class_type_info http://beefy12.nyi.freebsd.org/data/head-amd64-default/p501607_s347555/logs/errors/pianod2-301.log Modified: head/devel/gzstream/Makefile Modified: head/devel/gzstream/Makefile ============================================================================== --- head/devel/gzstream/Makefile Thu May 16 04:23:24 2019 (r501767) +++ head/devel/gzstream/Makefile Thu May 16 04:23:30 2019 (r501768) @@ -3,7 +3,7 @@ PORTNAME= gzstream DISTVERSION= 1.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= http://www.cs.unc.edu/Research/compgeom/gzstream/ DISTNAME= ${PORTNAME} @@ -24,11 +24,11 @@ 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} + s/{AR}/{CXX} $${LDFLAGS} -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 + ${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.0 ${LN} -sf lib${PORTNAME}.so.0 ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.h ${STAGEDIR}${PREFIX}/include/