Date: Wed, 28 Dec 2011 14:16:56 -0900 (AKST) From: Mel Flynn <mel@rachie.is-a-geek.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: MAINTAINER <mikeg@bsd-box.net> Subject: ports/163687: [patch] net/nss_ldap: Fix build if not using use.perl. Message-ID: <201112282316.pBSNGuRF023314@datakitty.lan.rachie.is-a-geek.net> Resent-Message-ID: <201112282320.pBSNKAmd033874@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 163687 >Category: ports >Synopsis: [patch] net/nss_ldap: Fix build if not using use.perl. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 28 23:20:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Mel Flynn >Release: FreeBSD 8.2-STABLE amd64 >Organization: >Environment: System: FreeBSD datakitty.lan.rachie.is-a-geek.net 8.2-STABLE FreeBSD 8.2-STABLE #5: Fri Nov 11 11:35:54 AKST 2011 mel@datakitty.lan.rachie.is-a-geek.net:/data/obj/data/RELENG_8/src/sys/GENERIC amd64 >Description: When perl is installed without symlinks in /usr, build fails. >How-To-Repeat: sudo rm -f /usr/bin/perl && make -C /usr/ports/net/nss_ldap \ -DWITHOUT_USE_PERL build >Fix: --- net::nss_ldap::Makefile begins here --- --- Makefile.orig 2011-12-03 09:45:42.000000000 -0900 +++ Makefile 2011-12-18 13:35:40.000000000 -0900 @@ -58,6 +58,8 @@ ${WRKSRC}/ldap.conf @${REINPLACE_CMD} 's,/etc/ldap\.,${PREFIX}/etc/nss_ldap.,g' \ ${WRKSRC}/${MAN5} + @${REINPLACE_CMD} 's,#!/usr/bin/perl,#!${PERL5},' \ + ${WRKSRC}/vers_string # XXX: newer autoconf's rely on the compiler result, not the preprocessor # for checking headers, so the configure.in needs to be fixed upstream --- net::nss_ldap::Makefile ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112282316.pBSNGuRF023314>