Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Sep 2012 10:28:03 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304339 - head/security/vpnc
Message-ID:  <201209161028.q8GAS33k060899@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Sun Sep 16 10:28:02 2012
New Revision: 304339
URL: http://svn.freebsd.org/changeset/ports/304339

Log:
  Point shebang in a perl script to ${PERL} in order to solve a build problem if
  perl is installed without creating symlinks to /usr/bin/perl.
  
  PR:             171673 (based on)
  Notified by:    Yuriy Taraday <yorik.sar@gmail.com>

Modified:
  head/security/vpnc/Makefile

Modified: head/security/vpnc/Makefile
==============================================================================
--- head/security/vpnc/Makefile	Sun Sep 16 09:47:44 2012	(r304338)
+++ head/security/vpnc/Makefile	Sun Sep 16 10:28:02 2012	(r304339)
@@ -56,6 +56,7 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/config.c
 	@${REINPLACE_CMD} -e 's|\(/etc/vpnc\)|${PREFIX}\1|' \
 		${WRKSRC}/${MAN8}.template
+	@${REINPLACE_CMD} -e '1s|.*perl|#!${PERL}|' ${WRKSRC}/makeman.pl
 
 do-install:
 	${INSTALL_PROGRAM} -m 751 ${WRKSRC}/vpnc ${PREFIX}/sbin/vpnc



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