pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
cdrtools: use PKG_SYSCONFSUBDIR
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Fri Dec 3 12:40:08 2021 +0100
Changeset: 0706f9322da95f4aadea9ae13f22b36bd32d88a1
Modified Files:
cdrtools/Makefile
Log Message:
cdrtools: use PKG_SYSCONFSUBDIR
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0706f9322da95f4aadea9ae13f22b36bd32d88a1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
cdrtools/Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diffs:
diff --git a/cdrtools/Makefile b/cdrtools/Makefile
index d0971588de..62130a33d4 100644
--- a/cdrtools/Makefile
+++ b/cdrtools/Makefile
@@ -24,9 +24,9 @@ MAKE_FLAGS+= CPPOPTX=${CPPFLAGS:Q} COPTX=${CFLAGS:Q} LDOPTX=${LDFLAGS:Q}
# The default location is /etc/default/cdrecord
# We patch the documentation appropriately. Additionally, we also install
# INSTALL.pkgsrc stating the reasons we do this, as required by the license.
-CDRECORD_CONF?= ${PKG_SYSCONFDIR}/cdrecord
+PKG_SYSCONFSUBDIR= cdrecord
-CONF_FILES= ${PREFIX}/share/examples/cdrtools/cdrecord ${CDRECORD_CONF}
+CONF_FILES= ${PREFIX}/share/examples/cdrtools/cdrecord ${PKG_SYSCONFDIR}
SPECIAL_PERMS+= ${PREFIX}/share/examples/cdrtools/cdrecord ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0644
AUTO_MKDIRS= yes
@@ -35,7 +35,7 @@ SUBST_CLASSES+= fix
SUBST_STAGE.fix= pre-configure
SUBST_FILES.fix+= cdrecord/cdrecord.1
SUBST_FILES.fix+= cdrecord/cdrecord.dfl
-SUBST_SED.fix= -e "s,/etc/default/cdrecord,${CDRECORD_CONF},g"
+SUBST_SED.fix= -e "s,/etc/default/cdrecord,${PKG_SYSCONFDIR},g"
SUBST_MESSAGE.fix= Replace defaults file paths.
# Configure INSTALL.pkgsrc (formerly displayed as MESSAGE)
@@ -44,7 +44,7 @@ SUBST_STAGE.install= post-configure
SUBST_MESSAGE.install= Preparing INSTALL.pkgsrc file ...
SUBST_FILES.install= ${WRKDIR}/INSTALL.pkgsrc
SUBST_SED.install= -e 's,PKGNAME_NOREV,${PKGNAME_NOREV},'
-SUBST_SED.install+= -e 's,CDRECORD_CONF,${CDRECORD_CONF:Q},'
+SUBST_SED.install+= -e 's,PKG_SYSCONFDIR,${PKG_SYSCONFDIR:Q},'
# Shared platform specific code for schilytools (provided by smake package)
.include "../../devel/smake/Makefile.common"
Home |
Main Index |
Thread Index |
Old Index