pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
signify: Use SUBST_MESSAGEs instead of comments
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Tue Jul 5 23:46:54 2022 +0200
Changeset: 3c7c52f9ee36c9959a85087bb820b34d43924ec7
Modified Files:
signify/Makefile
Log Message:
signify: Use SUBST_MESSAGEs instead of comments
Rationale of possible SUBST_CLASSES are usually documented via a
SUBST_MESSAGE instead of comments.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3c7c52f9ee36c9959a85087bb820b34d43924ec7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
signify/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diffs:
diff --git a/signify/Makefile b/signify/Makefile
index 56ab6a0418..ab5e006343 100644
--- a/signify/Makefile
+++ b/signify/Makefile
@@ -22,16 +22,17 @@ OUTDIR:= ${WRKSRC}/src/usr.bin/signify
LIBSRCDIR:= ${WRKSRC}/src/liboutils
.include "../../mk/bsd.prefs.mk"
-# do not hard-code configuration dir
+
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
+SUBST_MESSAGE.paths= Do not hardcode configuration directory
SUBST_FILES.paths+= ${OUTDIR}/signify.c
SUBST_FILES.paths+= ${OUTDIR}/signify.1
SUBST_SED.paths= -e 's|/etc/signify|${PKG_SYSCONFDIR}/signify|g'
.if ${OPSYS} == "SunOS"
-# SunOS stdint(3) doesn't provide `u_int*' typedefs
SUBST_CLASSES+= ints
+SUBST_MESSAGE.ints= SunOS stdint(3) doesn't provide `u_int*' typedefs
SUBST_STAGE.ints= pre-configure
SUBST_FILES.ints+= ${LIBSRCDIR}/*.c
SUBST_FILES.ints+= ${LIBSRCDIR}/include/*.h
Home |
Main Index |
Thread Index |
Old Index