pkgsrc-WIP-changes archive

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

dma: use bundled getprogname on Linux



Module Name:	pkgsrc-wip
Committed By:	Philip Dodd <orange.spyderman%gmail.com@localhost>
Pushed By:	orange.spyderman
Date:		Thu Nov 19 17:55:27 2026 +0000
Changeset:	9c20e1b02be7744a711a6e1e04d96f8f47fc209e

Modified Files:
	dma/Makefile

Log Message:
dma: use bundled getprogname on Linux

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

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

diffstat:
 dma/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diffs:
diff --git a/dma/Makefile b/dma/Makefile
index d8a443ed99..1186f06b8f 100644
--- a/dma/Makefile
+++ b/dma/Makefile
@@ -32,7 +32,10 @@ SPECIAL_PERMS+=	${PREFIX}/libexec/dma-mbox-create \
 PKG_GROUPS=	${DMA_GROUP}
 PKG_USERS=	${DMA_ROOT_USER}:${DMA_GROUP}
 
+# DMA provides its own getprogname() on glibc.
+.if ${OPSYS} != "Linux"
 CFLAGS+=	-DHAVE_GETPROGNAME
+.endif
 CFLAGS+=	-DHAVE_STRLCPY
 CFLAGS+=	-DDMA_GROUP=\"${DMA_GROUP}\"
 CFLAGS+=	-DDMA_ROOT_USER=\"${DMA_ROOT_USER}\"


Home | Main Index | Thread Index | Old Index