diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-07-10 15:08:07 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-07-10 15:08:07 +0000 |
commit | 19bd5d7c6bcc1db6013592d0a0e3ec9ecf45e03a (patch) | |
tree | d29f0218f10218eac2247a421e92c9b0b9e2c5f7 /net/libnss-mysql | |
parent | 4600218f7bb0fe21eec56798dbf830acdf9d899a (diff) | |
download | ports-19bd5d7c6bcc1db6013592d0a0e3ec9ecf45e03a.tar.gz ports-19bd5d7c6bcc1db6013592d0a0e3ec9ecf45e03a.zip |
Notes
Diffstat (limited to 'net/libnss-mysql')
-rw-r--r-- | net/libnss-mysql/Makefile | 16 | ||||
-rw-r--r-- | net/libnss-mysql/files/patch-Makefile.in | 22 | ||||
-rw-r--r-- | net/libnss-mysql/pkg-plist | 7 |
3 files changed, 16 insertions, 29 deletions
diff --git a/net/libnss-mysql/Makefile b/net/libnss-mysql/Makefile index e7ef189caa2c..e1d0f897e490 100644 --- a/net/libnss-mysql/Makefile +++ b/net/libnss-mysql/Makefile @@ -3,17 +3,27 @@ PORTNAME= libnss-mysql PORTVERSION= 1.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net MASTER_SITES= SF MAINTAINER= vd@FreeBSD.org COMMENT= NSS module using a MySQL database for backend -USE_AUTOTOOLS= libtool +GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-mysql=${LOCALBASE} +INSTALL_TARGET= install-strip +USES= libtool USE_LDCONFIG= yes -GNU_CONFIGURE= yes USE_MYSQL= 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> diff --git a/net/libnss-mysql/files/patch-Makefile.in b/net/libnss-mysql/files/patch-Makefile.in deleted file mode 100644 index 67be170fcd09..000000000000 --- a/net/libnss-mysql/files/patch-Makefile.in +++ /dev/null @@ -1,22 +0,0 @@ ---- Makefile.in.orig Sun Sep 4 06:34:39 2005 -+++ Makefile.in Fri Sep 9 19:39:38 2005 -@@ -617,16 +617,11 @@ - - - install-data-hook: -- @if test ! -f ${DESTDIR}${sysconfdir}/libnss-mysql.cfg; then \ -- ${srcdir}/aux/mkinstalldirs ${DESTDIR}${sysconfdir}; \ -+ ${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 \ -- ${srcdir}/aux/mkinstalldirs ${DESTDIR}${sysconfdir}; \ -+ ${DESTDIR}${sysconfdir}/libnss-mysql.cfg-dist; \ - ${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: diff --git a/net/libnss-mysql/pkg-plist b/net/libnss-mysql/pkg-plist index 67c0b97f9e77..d4558b55c363 100644 --- a/net/libnss-mysql/pkg-plist +++ b/net/libnss-mysql/pkg-plist @@ -1,6 +1,5 @@ -etc/libnss-mysql.cfg-dist -etc/libnss-mysql-root.cfg-dist -lib/nss_mysql.a -lib/nss_mysql.la +@sample etc/libnss-mysql.cfg.sample +@sample etc/libnss-mysql-root.cfg.sample lib/nss_mysql.so lib/nss_mysql.so.1 +lib/nss_mysql.so.1.0.0 |