1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/net/libnss-mysql/Makefile
Dima Panov 1709b49e19 net/libnss-mysql: unbreak build with mysql80/maria105+ (+)
Transfer maintainership vd => fluffy

PR:		269130
Approved by:	vd
2023-02-01 15:08:25 +03:00

27 lines
626 B
Makefile

PORTNAME= libnss-mysql
PORTVERSION= 1.5
PORTREVISION= 5
CATEGORIES= net
MASTER_SITES= SF
MAINTAINER= fluffy@FreeBSD.org
COMMENT= NSS module using a MySQL database for backend
WWW= http://libnss-mysql.sourceforge.net/
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-mysql=${LOCALBASE}
INSTALL_TARGET= install-strip
USES= libtool mysql
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} 's,$${srcdir}/aux/mkinstalldirs,$${mkinstalldirs},' \
${WRKSRC}/Makefile.in
post-install:
.for f in libnss-mysql.cfg libnss-mysql-root.cfg
${MV} ${STAGEDIR}${PREFIX}/etc/$f ${STAGEDIR}${PREFIX}/etc/$f.sample
.endfor
.include <bsd.port.mk>