pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/cadical



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Nov  8 16:01:00 UTC 2026

Modified Files:
        pkgsrc/math/cadical: Makefile

Log Message:
cadical: fix LDFLAGS workaround properly.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/math/cadical/Makefile

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

Modified files:

Index: pkgsrc/math/cadical/Makefile
diff -u pkgsrc/math/cadical/Makefile:1.5 pkgsrc/math/cadical/Makefile:1.6
--- pkgsrc/math/cadical/Makefile:1.5    Sun Nov  8 13:51:53 2026
+++ pkgsrc/math/cadical/Makefile        Sun Nov  8 16:01:00 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2026/11/08 13:51:53 alnsn Exp $
+# $NetBSD: Makefile,v 1.6 2026/11/08 16:01:00 wiz Exp $
 
 DISTNAME=      cadical-2.1.3
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=arminbiere/}
 GITHUB_TAG=    rel-${PKGVERSION_NOREV}
@@ -26,6 +26,10 @@ SUBST_MESSAGE.pc=    Set prefix and version
 SUBST_FILES.pc=                cadical.pc
 SUBST_VARS.pc=         PREFIX PKGVERSION_NOREV
 
+# LDFLAGS are ignored, but this works
+# https://github.com/arminbiere/cadical/pull/88#issuecomment-5073528194
+CONFIGURE_ARGS+=       ${LDFLAGS}
+
 post-extract:
        ${CP} ${FILESDIR}/cadical.pc ${WRKSRC}/cadical.pc
 
@@ -36,10 +40,4 @@ do-install:
        ${INSTALL_DATA} ${WRKSRC}/src/cadical.hpp ${DESTDIR}${PREFIX}/include/cadical
        ${INSTALL_DATA} ${WRKSRC}/build/libcadical.a ${DESTDIR}${PREFIX}/lib
 
-# FIXME: replace by proper LDFLAGS handling
-_WRAP_EXTRA_ARGS.CC+=  ${_RELRO_LDFLAGS}
-_WRAP_EXTRA_ARGS.CXX+= ${_RELRO_LDFLAGS}
-CWRAPPERS_PREPEND.cc+= ${_RELRO_LDFLAGS}
-CWRAPPERS_PREPEND.cxx+=        ${_RELRO_LDFLAGS}
-
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index