pkgsrc-Bugs archive

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

pkg/58899: editors/kakoune: respect pkgsrc CXXFLAGS



>Number:         58899
>Category:       pkg
>Synopsis:       editors/kakoune: respect pkgsrc CXXFLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   unknown
>Arrival-Date:   Fri Dec 13 07:20:00 +0000 2024
>Originator:     db7%sdf.org@localhost
>Release:        Darwin 24.1.0
>Organization:
>Environment:
System: Darwin mini.local 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:05:14 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T8103 arm64


>Description:
	The current kakoune build process overwrites the pkgsrc CXXFLAGS and
	enforces -O3 optimization. This change fixes that.

>How-To-Repeat:
	
>Fix:

commit dfc1d0e740338486219570d6efdf95a432706977
Author: Diogo <db7%sdf.org@localhost>
Date:   Fri Dec 13 08:01:41 2024 +0100

    editors/kakoune: respect pkgsrc CXXFLAGS

diff --git a/editors/kakoune/Makefile b/editors/kakoune/Makefile
index 702166adddc..89cdd0482ce 100644
--- a/editors/kakoune/Makefile
+++ b/editors/kakoune/Makefile
@@ -17,6 +17,7 @@ USE_LANGUAGES=	c c++
 USE_CXX_FEATURES+=	c++20

 MAKE_FLAGS+=	mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+MAKE_FLAGS+=	CXXFLAGS-debug-no=
 MAKE_FLAGS+=	PREFIX=${PREFIX}

 LDFLAGS.SunOS+=	-lsocket -lnsl


Home | Main Index | Thread Index | Old Index