ports/net/libnss-mysql/files/patch-Makefile.in
Edwin Groothuis 60c908d57b net/libnss-mysql (NSS module using a MySQL database for backend)
libNSS-MySQL allows you to authenticate UNIX groups and
	users using a MySQL database. It uses the NSS API which
	provides an abstraction layer between the UNIX authentication
	API and the related data. NSS-MySQL currently supports the
	passwd and groups services.  Version 1.0 has native FreeBSD
	suppport.

PR:		ports/54423
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org>
2003-08-30 06:48:11 +00:00

22 lines
879 B
Text

--- Makefile.in.orig Sat Jul 12 21:43:29 2003
+++ Makefile.in Sat Jul 12 21:45:55 2003
@@ -492,16 +492,13 @@
install-data-hook:
- @if test ! -f ${DESTDIR}${sysconfdir}/libnss-mysql.cfg; then \
${srcdir}/mkinstalldirs ${DESTDIR}${sysconfdir}; \
${INSTALL_DATA} ${srcdir}/sample/@OS@/libnss-mysql.cfg \
- ${DESTDIR}${sysconfdir}/libnss-mysql.cfg; \
- fi
- @if test ! -f ${DESTDIR}${sysconfdir}/libnss-mysql-root.cfg; then \
+ ${DESTDIR}${sysconfdir}/libnss-mysql.cfg-dist; \
${srcdir}/mkinstalldirs ${DESTDIR}${sysconfdir}; \
${INSTALL_DATA} -m 600 ${srcdir}/sample/@OS@/libnss-mysql-root.cfg \
- ${DESTDIR}${sysconfdir}/libnss-mysql-root.cfg; \
- fi
+ ${DESTDIR}${sysconfdir}/libnss-mysql-root.cfg-dist; \
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: