Received: by mail.netbsd.org (Postfix, from userid 605) id 13AF984F18; Thu, 2 Mar 2023 15:03:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 43E7684F09 for ; Thu, 2 Mar 2023 15:03:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id tJTdkOSPANOX for ; Thu, 2 Mar 2023 15:03:50 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 8D7C684CF7 for ; Thu, 2 Mar 2023 15:03:50 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 861E9FA90; Thu, 2 Mar 2023 15:03:50 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_167776943032570" MIME-Version: 1.0 Date: Thu, 2 Mar 2023 15:03:50 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/x11/gnustep-back To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20230302150350.861E9FA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_167776943032570 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Thu Mar 2 15:03:50 UTC 2023 Modified Files: pkgsrc/x11/gnustep-back: Makefile Log Message: gnustep-back: fix linker problem /usr/bin/ld: ./obj/gpbs.obj/gpbs.m.o: undefined reference to symbol '_Unwind_Resume' /usr/bin/ld: /usr/pkg/lib/libunwind.so.1: error adding symbols: DSO missing from command line by adding libunwind/bl3.mk and linking against it; for now only on NetBSD, but feel free to make this unconditional. To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 pkgsrc/x11/gnustep-back/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_167776943032570 Content-Disposition: inline Content-Length: 1120 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/x11/gnustep-back/Makefile diff -u pkgsrc/x11/gnustep-back/Makefile:1.87 pkgsrc/x11/gnustep-back/Makefile:1.88 --- pkgsrc/x11/gnustep-back/Makefile:1.87 Sun Jan 29 21:18:10 2023 +++ pkgsrc/x11/gnustep-back/Makefile Thu Mar 2 15:03:50 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.87 2023/01/29 21:18:10 ryoon Exp $ +# $NetBSD: Makefile,v 1.88 2023/03/02 15:03:50 wiz Exp $ GITHUB_PROJECT= libs-back GITHUB_TAG= back-0_28_0 @@ -17,7 +17,8 @@ USE_LANGUAGES= objc USE_TOOLS+= pkg-config GNU_CONFIGURE= yes CONFIGURE_ARGS+= --exec-prefix=${PREFIX}/libexec/GNUstep -LDFLAGS= ${COMPILER_RPATH_FLAG}${PREFIX}/lib +LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib +LDFLAGS.NetBSD= -L${PREFIX}/lib -lunwind MAKE_FILE= GNUmakefile # /usr/bin/ld: -r and -pie may not be used together @@ -33,6 +34,7 @@ pre-install: #REFER_PKGSRC+= freetype2 .include "../../x11/gnustep-gui/buildlink3.mk" +.include "../../lang/libunwind/buildlink3.mk" .include "../../graphics/MesaLib/buildlink3.mk" .include "../../fonts/fontconfig/buildlink3.mk" .include "../../graphics/cairo/buildlink3.mk" --_----------=_167776943032570--