pkgsrc-WIP-changes archive

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

Fix prefix issue for configuration files



Module Name:	pkgsrc-wip
Committed By:	Thomas Merkel <tm%core.io@localhost>
Pushed By:	drscream
Date:		Wed Feb 24 07:30:19 2016 +0000
Changeset:	e187050115c7d614be5e55d50e867cc497ff72e5

Modified Files:
	dma/Makefile

Log Message:
Fix prefix issue for configuration files

Configuration files should be stored in $PREFIX/etc/dma folder and not
in /etc/dma.

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

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

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

diffs:
diff --git a/dma/Makefile b/dma/Makefile
index b79d506..38cb3a2 100644
--- a/dma/Makefile
+++ b/dma/Makefile
@@ -15,7 +15,7 @@ GITHUB_TAG=		v0.11
 
 BUILD_DEFS+=		VARBASE
 
-PKG_SYSCONFDIR=	dma
+PKG_SYSCONFSUBDIR=	dma
 EGDIR=			${PREFIX}/share/exmaples/${PKGBASE}
 
 USE_TOOLS+=		flex yacc
@@ -37,6 +37,8 @@ CFLAGS+=	-DLIBEXEC_PATH=${PREFIX}/libexec
 CFLAGS+=	-DDMA_GROUP=\"${DMA_GROUP}\"
 CFLAGS+=	-DDMA_ROOT_USER=\"${DMA_ROOT_USER}\"
 
+MAKE_ENV+=	CONFDIR=${PKG_SYSCONFDIR}
+
 MAKE_FLAGS=		"LIBEXEC=${PREFIX}/libexec"
 MAKE_FLAGS+=	"MAN=${PREFIX}/${PKGMANDIR}"
 


Home | Main Index | Thread Index | Old Index