pkgsrc-WIP-changes archive

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

fsel: honor CFLAGS, LDFLAGS.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sat Aug 29 22:01:21 2026 +0200
Changeset:	21307efaebda0a6927df6ce15b56a50059c45fa0

Modified Files:
	fsel/Makefile
	fsel/distinfo
Added Files:
	fsel/patches/patch-Makefile

Log Message:
fsel: honor CFLAGS, LDFLAGS.

Mark as using c11.

Bump PKGREVISION.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=21307efaebda0a6927df6ce15b56a50059c45fa0

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

diffstat:
 fsel/Makefile               |  3 +++
 fsel/distinfo               |  1 +
 fsel/patches/patch-Makefile | 15 +++++++++++++++
 3 files changed, 19 insertions(+)

diffs:
diff --git a/fsel/Makefile b/fsel/Makefile
index 6863410b8a..e76f0a11a3 100644
--- a/fsel/Makefile
+++ b/fsel/Makefile
@@ -1,6 +1,7 @@
 # $NetBSD$
 
 DISTNAME=	fsel-0.2.0
+PKGREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_GITHUB:=uwfmt/}
 GITHUB_TAG=	v${PKGVERSION_NOREV}
@@ -12,6 +13,8 @@ LICENSE=	gnu-gpl-v3
 
 WRKSRC=	${WRKDIR}/${DISTNAME}
 
+USE_CC_FEATURES=	c11
+
 INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1
 
 do-install:
diff --git a/fsel/distinfo b/fsel/distinfo
index 4e5e1980df..583d5aeee2 100644
--- a/fsel/distinfo
+++ b/fsel/distinfo
@@ -3,3 +3,4 @@ $NetBSD$
 BLAKE2s (fsel-0.2.0.tar.gz) = 438d995c94a7c829445f044733594396e685de1481a2c6a3654ecdfbfa0e2417
 SHA512 (fsel-0.2.0.tar.gz) = 9c5e2ddb04e12c5e1a27ec342039319d2a739ef32e32934da6204de68429243a39a0448cc753bf449f35bcdba812308ef85b950a2161949f499b7e068484e4f6
 Size (fsel-0.2.0.tar.gz) = 22507 bytes
+SHA1 (patch-Makefile) = d17e6add52189751833af7cd47db7b1fe9e50969
diff --git a/fsel/patches/patch-Makefile b/fsel/patches/patch-Makefile
new file mode 100644
index 0000000000..ac81665acd
--- /dev/null
+++ b/fsel/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Do not override pkgsrc CFLAGS/LDFLAGS.
+
+--- Makefile.orig	2026-08-29 20:00:11.296483850 +0000
++++ Makefile
+@@ -1,6 +1,6 @@ CC = gcc
+ CC = gcc
+-CFLAGS = -Wall -Wextra -std=c11
+-LDFLAGS =
++CFLAGS += -Wall -Wextra -std=c11
++LDFLAGS +=
+ LIBS = -lcrypto
+ PREFIX ?= /usr/local
+ 


Home | Main Index | Thread Index | Old Index