svn commit: r370526 - head/security/cyrus-sasl2-gssapi

Hajimu UMEMOTO ume at FreeBSD.org
Thu Oct 9 13:18:29 UTC 2014


Author: ume
Date: Thu Oct  9 13:18:28 2014
New Revision: 370526
URL: https://svnweb.freebsd.org/changeset/ports/370526
QAT: https://qat.redports.org/buildarchive/r370526/

Log:
  Include RPATH in the libs, again.
  It seems that USES=libtool doesn't rewrite ${LIBTOOL} in
  a configure script to use ${LOCALBASE}/bin/libtool like
  bsd.autotools.mk did.
  So, rewrite it explicitly for workaround.
  
  PR:		194176
  Submitted by:	jhujhiti__at__adjectivism.org

Modified:
  head/security/cyrus-sasl2-gssapi/Makefile

Modified: head/security/cyrus-sasl2-gssapi/Makefile
==============================================================================
--- head/security/cyrus-sasl2-gssapi/Makefile	Thu Oct  9 13:17:26 2014	(r370525)
+++ head/security/cyrus-sasl2-gssapi/Makefile	Thu Oct  9 13:18:28 2014	(r370526)
@@ -2,7 +2,7 @@
 
 PORTNAME=	gssapi
 PORTVERSION=	2.1.26
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security ipv6
 MASTER_SITES=	ftp://ftp.cyrusimap.org/cyrus-sasl/ \
 		http://cyrusimap.org/releases/
@@ -89,6 +89,13 @@ CONFIGURE_ARGS+=--with-openssl=yes
 CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
 .endif
 
+LIBTOOL=	${LOCALBASE}/bin/libtool
+
+post-patch:
+	@${REINPLACE_CMD} \
+		-e "/^LIBTOOL=/s|\$$(top_builddir)/libtool|${LIBTOOL}|g" \
+		${WRKSRC}/configure
+
 do-build:
 	cd ${WRKSRC}/include && ${MAKE}
 	cd ${WRKSRC}/plugins && ${MAKE}


More information about the svn-ports-all mailing list