Bug 171673 - security/vpnc fails on build step
Summary: security/vpnc fails on build step
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Emanuel Haupt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-15 22:40 UTC by Yuriy Taraday
Modified: 2012-09-16 11:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuriy Taraday 2012-09-15 22:40:10 UTC
When I try to make this port, I get this error:

  gmake: ./makeman.pl: Command not found
  gmake: *** [vpnc.8] Error 127

Everything builds fine except man pages.

Fix: 

I replaced shebang string in makeman.pl to point to /usr/local/bin/perl instead of /usr/bin/perl. It worked.
How-To-Repeat:   make -C /usr/ports/security/vpnc
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-15 22:41:00 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ehaupt

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-09-16 11:28:16 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Emanuel Haupt freebsd_committer freebsd_triage 2012-09-16 11:28:23 UTC
State Changed
From-To: open->closed

Committed, thanks!