pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/gnustep-back



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.

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"



Home | Main Index | Thread Index | Old Index