Bug 145426 - www/apache22 => path or perl in apxs is wrong
Summary: www/apache22 => path or perl in apxs is wrong
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: freebsd-apache (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-06 10:50 UTC by Gabor Tjong A Hung
Modified: 2010-04-27 23:00 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 Gabor Tjong A Hung 2010-04-06 10:50:02 UTC
# head -n1 `which apxs`
#!/usr/bin/perl -w

# which perl
/usr/local/bin/perl

Fix: 

s/#!\/usr\/bin\/perl/#!/usr\/bin\/env perl
How-To-Repeat: install apache22
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-04-06 16:10:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

Fix synopsis and assign.
Comment 2 pgollucci 2010-04-27 22:59:12 UTC
No that patch isn't right.

I fail to see why this is a problem though.

/usr/bin/perl is a symlink to /usr/local/bin/perl$VERSION

which is a hardlink or direct copy of /usr/local/bin/perl


-- 
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@ridecharge.com)
p: 703.549.2050x206, did: 703.579.6947
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2010-04-27 22:59:35 UTC
State Changed
From-To: open->closed

invalid