From owner-svn-ports-head@FreeBSD.ORG Fri Jan 10 20:33:46 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 315D96BC; Fri, 10 Jan 2014 20:33:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1DC611D82; Fri, 10 Jan 2014 20:33:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0AKXjU4077915; Fri, 10 Jan 2014 20:33:45 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0AKXjTr077914; Fri, 10 Jan 2014 20:33:45 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201401102033.s0AKXjTr077914@svn.freebsd.org> From: John Marino Date: Fri, 10 Jan 2014 20:33:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339382 - head/security/gnutls X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jan 2014 20:33:46 -0000 Author: marino Date: Fri Jan 10 20:33:45 2014 New Revision: 339382 URL: http://svnweb.freebsd.org/changeset/ports/339382 Log: security/gnutls: Fix hardcoded perl paths Perl was recently added as a build tool for gnutls, and immediately the port fails to build on systems that do not have the /usr/bin/perl symlink. The cause is harded perl path of "/usr/bin/perl". Shebangfix will fix a couple of these, REINPLACE_CMD will fix the other. Committed under the new "Just fix it" blanket, but it was tested in redports. Modified: head/security/gnutls/Makefile Modified: head/security/gnutls/Makefile ============================================================================== --- head/security/gnutls/Makefile Fri Jan 10 19:02:59 2014 (r339381) +++ head/security/gnutls/Makefile Fri Jan 10 20:33:45 2014 (r339382) @@ -19,7 +19,7 @@ LIB_DEPENDS= nettle:${PORTSDIR}/security CONFLICTS= gnutls-devel-[0-9]* -USES= pathfix pkgconfig iconv gmake perl5 +USES= pathfix pkgconfig iconv gmake perl5 shebangfix USE_PERL5= build USE_BZIP2= yes USE_GNOME= ltverhack @@ -27,6 +27,7 @@ GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_AUTOTOOLS= libtool LIBTOOLFILES= configure lib/configure libextra/configure +SHEBANG_FILES= doc/scripts/gdoc doc/scripts/sort2.pl CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -fPIC @@ -79,6 +80,8 @@ PORTEXAMPLES= *.c post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" -type f |\ ${XARGS} ${REINPLACE_CMD} -e 's|[$$][(]LTLIBPTHREAD[)]||g' + @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PREFIX}/bin/perl|g' \ + ${WRKSRC}/doc/doxygen/Doxyfile.in post-install: .if ${PORT_OPTIONS:MEXAMPLES}