[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / rsyslog-libgcrypt

File: [cvs.NetBSD.org] / pkgsrc / sysutils / rsyslog-libgcrypt / Makefile (download)

Revision 1.20, Wed Oct 26 10:32:00 2022 UTC (3 months, 1 week ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD
Changes since 1.19: +2 -2 lines

*: bump PKGREVISION for libunistring shlib major bump

# $NetBSD: Makefile,v 1.20 2022/10/26 10:32:00 wiz Exp $
#

RSYSLOG_MOD=	libgcrypt
PKGNAME=	${DISTNAME:S/rsyslog/rsyslog-${RSYSLOG_MOD}/}
PKGREVISION=	14

DEPENDS+=	rsyslog>=${PKGVERSION_NOREV}:../../sysutils/rsyslog

#/usr/bin/ld: cannot find ../runtime/.libs/librsyslog.a: No such file or directory

MAKE_JOBS_SAFE=	no

.include "../../sysutils/rsyslog/Makefile.common"

CONFIGURE_ARGS+=	--enable-libgcrypt

BUILD_DIRS=		compat grammar runtime tools

INSTALLATION_DIRS+=	bin lib/rsyslog ${PKGMANDIR}/man1

do-install:
	${INSTALL_DATA} ${WRKSRC}/runtime/.libs/lmcry_gcry.a    \
		${DESTDIR}${PREFIX}/lib/rsyslog/
	${INSTALL_LIB} ${WRKSRC}/runtime/.libs/lmcry_gcry.so    \
		${DESTDIR}${PREFIX}/lib/rsyslog/
	${INSTALL_LIB} ${WRKSRC}/runtime/.libs/lmcry_gcry.lai   \
		${DESTDIR}${PREFIX}/lib/rsyslog/lmcry_gcry.la
	${INSTALL_PROGRAM} ${WRKSRC}/tools/rscryutil		\
		${DESTDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/tools/rscryutil.1		\
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

.include "../../security/libgcrypt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"