pkgsrc-WIP-changes archive

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

easyrsa: make 'pkglint -Call -Wall -e' pass



Module Name:	pkgsrc-wip
Committed By:	Frédéric Fauberteau <frederic%fauberteau.org@localhost>
Pushed By:	frederic
Date:		Tue Mar 1 01:01:06 2016 +0100
Changeset:	916b2b05dbd795558575398291bc5b1de66be3f3

Modified Files:
	easyrsa/Makefile

Log Message:
easyrsa: make 'pkglint -Call -Wall -e' pass

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

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

diffstat:
 easyrsa/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diffs:
diff --git a/easyrsa/Makefile b/easyrsa/Makefile
index 49bc55e..ff71fd5 100644
--- a/easyrsa/Makefile
+++ b/easyrsa/Makefile
@@ -14,11 +14,10 @@ EASYRSA_DOC_FILES=	COPYING ChangeLog KNOWN_ISSUES README README.quickstart.md
 EASYRSA_CNF_FILES=	openssl-1.0.cnf vars.example x509-types/COMMON x509-types/ca \
 			x509-types/client x509-types/server
 
-INSTALLATION_DIRS+=	${BINDIR} ${DOCDIR} ${EGDIR} ${MANDIR}
+INSTALLATION_DIRS+=	${BINDIR} ${DOCDIR} ${EGDIR} ${PKGMANDIR}/man1
 BINDIR=			${PREFIX}/bin
 DOCDIR=			${PREFIX}/share/doc/easyrsa
 EGDIR=			${PREFIX}/share/examples/easyrsa
-MANDIR=			${PREFIX}/${PKGMANDIR}
 PKG_SYSCONFSUBDIR=	easyrsa
 OWN_DIRS=		${PKG_SYSCONFDIR}/x509-types
 .for f in ${EASYRSA_CNF_FILES}
@@ -29,8 +28,7 @@ NO_BUILD=		yes
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/easyrsa3/easyrsa ${DESTDIR}${BINDIR}/easyrsa
-	${INSTALL_MAN_DIR} ${DESTDIR}${MANDIR}/man1
-	${INSTALL_MAN} ${FILESDIR}/easyrsa.1 ${DESTDIR}${MANDIR}/man1
+	${INSTALL_MAN} ${FILESDIR}/easyrsa.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 	${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}/x509-types
 .for f in ${EASYRSA_CNF_FILES}


Home | Main Index | Thread Index | Old Index