Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2016 11:31:55 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r429249 - head/mail/mailutils
Message-ID:  <201612231131.uBNBVtG6002914@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Dec 23 11:31:54 2016
New Revision: 429249
URL: https://svnweb.freebsd.org/changeset/ports/429249

Log:
  - Do not pass ${PREFIX}/lib/${PORTNAME} to ldconfig(8), those shared
    objects are loaded as plugins during runtime
  - Do not try to override MAKEINFO (does not seem to change anything)
  - Prevent `install-exec-hook' from calling chmod(1), this also fixes
    warnings during Q/A stage [1]
  - Allow to build against Kyoto Cabinet
  
  Reported by:	pkg-fallout [1]

Modified:
  head/mail/mailutils/Makefile

Modified: head/mail/mailutils/Makefile
==============================================================================
--- head/mail/mailutils/Makefile	Fri Dec 23 11:07:08 2016	(r429248)
+++ head/mail/mailutils/Makefile	Fri Dec 23 11:31:54 2016	(r429249)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mailutils
 PORTVERSION=	3.1.1
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	GNU
 
@@ -15,9 +16,8 @@ LIB_DEPENDS=	libltdl.so:devel/libltdl
 
 USES=		gmake iconv libtool makeinfo readline tar:xz
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	MAKEINFO="makeinfo --no-split"
 LDFLAGS+=	-L${LOCALBASE}/lib
-USE_LDCONFIG=	${PREFIX}/lib ${PREFIX}/lib/${PORTNAME}
+USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 
 INFO=		${PORTNAME}
@@ -25,11 +25,12 @@ INFO=		${PORTNAME}
 OPTIONS_DEFINE=		GNUTLS GSSAPI GUILE MH NNTP NLS PAM PYTHON
 OPTIONS_DEFAULT=	BDB GNUTLS PAM
 OPTIONS_MULTI=		DB
-OPTIONS_MULTI_DB=	BDB GDBM LDAP MYSQL PGSQL TOKYOCABINET
+OPTIONS_MULTI_DB=	BDB GDBM KYOTOCABINET LDAP MYSQL PGSQL TOKYOCABINET
 OPTIONS_SUB=		yes
 
 BDB_DESC=		Berkeley DB v4.8 support (last working one)
 DB_DESC=		Database configuration
+KYOTOCABINET_DESC=	Kyoto Cabinet database support
 MH_DESC=		MH (Message Handling) system support
 TOKYOCABINET_DESC=	Tokyo Cabinet database support
 
@@ -65,6 +66,9 @@ INVALID_BDB_VER=	5+
 GDBM_LIB_DEPENDS=	libgdbm.so:databases/gdbm
 GDBM_CONFIGURE_WITH=	gdbm
 
+KYOTOCABINET_LIB_DEPENDS=	libkyotocabinet.so:databases/kyotocabinet
+KYOTOCABINET_CONFIGURE_WITH=	kyotocabinet
+
 LDAP_USE=		OPENLDAP=yes
 LDAP_CONFIGURE_WITH=	ldap
 
@@ -80,7 +84,8 @@ TOKYOCABINET_CONFIGURE_WITH=	tokyocabine
 post-patch:
 	@${REINPLACE_CMD} -e '/need_charset_alias=/s|true|false|' \
 		${WRKSRC}/lib/gnu/Makefile.in
-	@${REINPLACE_CMD} -e 's,chown,#&,' ${WRKSRC}/dotlock/Makefile.in \
+	@${REINPLACE_CMD} -e '/chown/,+1s|ch|#&|' \
+		${WRKSRC}/dotlock/Makefile.in \
 		${WRKSRC}/maidag/Makefile.in
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612231131.uBNBVtG6002914>