svn commit: r304339 - head/security/vpnc

Emanuel Haupt ehaupt at FreeBSD.org
Sun Sep 16 10:28:03 UTC 2012


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 at 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



More information about the svn-ports-all mailing list