Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 2004 23:30:40 +0200
From:      Florent Thoumie <flz@xbsd.org>
To:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/69721: New port: net/ldapsh - Interactive shell used to administer ldap directories
Message-ID:  <20040728213039.GA22215@gw.xbsd.org>
In-Reply-To: <200407281900.i6SJ0Z9h094559@freefall.freebsd.org>
References:  <20040728185029.8A0DA14D9@gw.xbsd.org> <200407281900.i6SJ0Z9h094559@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Please apply this patch, sorry I haven't posted this before.

--- ldapsh-patch.diff begins here. ---

diff -ruN ldapsh/Makefile ldapsh.new/Makefile
--- ldapsh/Makefile	Wed Jul 28 20:49:31 2004
+++ ldapsh.new/Makefile	Wed Jul 28 23:24:56 2004
@@ -21,12 +21,16 @@
 
 NO_BUILD=	yes
 WRKSRC=		${WRKDIR}/ldapsh
+USE_REINPLACE=	yes
 
 .include <bsd.port.pre.mk>
 
 .if ${PERL_LEVEL} < 500601
 BUILD_DEPENDS+=	${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long
 .endif
+
+post-patch:
+	${REINPLACE_CMD} -e "s,local/bin/perl -w,bin/env perl," ${WRKSRC}/ldapsh
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/ldapsh ${PREFIX}/bin

--- ldapsh-patch.diff ends here. ---



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