From ffceca11a9acb11623d00829c993ca1022b4d164 Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 25 Nov 2001 18:59:45 +0000 Subject: PKG_SYSCONFDIR is where the configuration files for a package may be found. This value may be customized in various ways: PKG_SYSCONFBASE is the main config directory under which all package configuration files are to be found. PKG_SYSCONFSUBDIR is the subdirectory of PKG_SYSCONFBASE under which the configuration files for a particular package may be found. PKG_SYSCONFDIR.${PKGBASE} overrides the value of ${PKG_SYSCONFDIR} for a particular package. Users will typically want to set PKG_SYSCONFBASE to /etc, or accept the default location of ${PREFIX}/etc. This obsoletes the use of CONFDIR, which was active for only 6 days, so no need to have a workaround to still accept old CONFDIR settings. --- audio/rplay/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'audio/rplay') diff --git a/audio/rplay/Makefile b/audio/rplay/Makefile index cf9e9e4930e..1c26e3c2a63 100644 --- a/audio/rplay/Makefile +++ b/audio/rplay/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2001/11/21 17:58:33 jlam Exp $ +# $NetBSD: Makefile,v 1.32 2001/11/25 18:59:45 jlam Exp $ # FreeBSD Id: Makefile,v 1.8 1997/06/13 16:17:01 ache Exp # @@ -16,7 +16,7 @@ BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf USE_BUILDLINK_ONLY= YES USE_LIBTOOL= YES GNU_CONFIGURE= YES -CONFIGURE_ARGS+= --sysconfdir=${CONFDIR} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} CONFIGURE_ENV+= RPLAY_TARGET=generic # XXX generic, or oss, or sun? INFO_FILES= RPLAY.info RPTP.info librplay.info rplay.info @@ -25,7 +25,7 @@ RCD_SCRIPTS= rplayd pre-configure: cd ${WRKSRC}; ${LOCALBASE}/bin/autoreconf --force cd ${WRKSRC}/doc; for manpage in *.[0-9]; do \ - ${SED} -e "s|/usr/local/etc|${CONFDIR}|g" \ + ${SED} -e "s|/usr/local/etc|${PKG_SYSCONFDIR}|g" \ -e "s|/usr/local|${PREFIX}|g" \ $${manpage} > $${manpage}.pdone; \ ${MV} -f $${manpage}.pdone $${manpage}; \ -- cgit v1.2.3