pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/dino



Module Name:    pkgsrc
Committed By:   gdt
Date:           Thu Aug 14 23:30:33 UTC 2025

Modified Files:
        pkgsrc/chat/dino: Makefile

Log Message:
chat/dino: Kludge for tests and clean up old warnings fixup

Two minor cleanups:
  - For tests, set LD_LIBRARY_PATH (and the "think different" analog)
    so that the omemo plugin is found.
  - Comment out rewriting an obscure warning, because it's not needed
    on NetBSD 10, and the warning does not appear in a built tree.  It
    can easily be added back with a comment about where and why it's
    needed, if so, and if not we can gc it.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/chat/dino/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/dino/Makefile
diff -u pkgsrc/chat/dino/Makefile:1.51 pkgsrc/chat/dino/Makefile:1.52
--- pkgsrc/chat/dino/Makefile:1.51      Thu Aug 14 10:25:26 2025
+++ pkgsrc/chat/dino/Makefile   Thu Aug 14 23:30:33 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2025/08/14 10:25:26 gdt Exp $
+# $NetBSD: Makefile,v 1.52 2025/08/14 23:30:33 gdt Exp $
 
 DISTNAME=              dino-0.5.0
 CATEGORIES=            chat
@@ -15,11 +15,15 @@ DEPENDS+=   glib-networking-[0-9]*:../../n
 USE_TOOLS+=            pkg-config
 USE_LANGUAGES=         c c++
 
-BUILDLINK_TRANSFORM+=  opt:-Wno-incompatible-pointer-types-discards-qualifiers:-Wno-incompatible-pointer-types
+# Leftover from 0.4.x.  Unclear which platforms/compilers.
+# The first option does not appear after building.  For now, omit and see if there is breakage.
+#BUILDLINK_TRANSFORM+= opt:-Wno-incompatible-pointer-types-discards-qualifiers:-Wno-incompatible-pointer-types
 
 # tests fail because of missing RPATH in plugins/omemo/omemo-test.
-# With LD_LIBRARY_PATH=/usr/pkg/lib/dino/plugins they pass.
 # This seems to be because of upstream's use of ORIGIN.
+TEST_ENV+=     LD_LIBRARY_PATH=${WRKSRC}/output/plugins/omemo
+# For Darwin                                                                                                                                                                                           
       
+TEST_ENV+=     DYLD_LIBRARY_PATH=${WRKSRC}/output/plugins/omemo
 
 .include "../../devel/meson/build.mk"
 



Home | Main Index | Thread Index | Old Index