[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] ezjail-admin ugly perl hack v2



Hello,

some pieces of software are looking for /usr/bin/perl5. See x11-toolkits/pango port and a reference that is still valid at:

http://lists.freebsd.org/pipermail/freebsd-ports/2006-December/037249.html

Suggested patch is attached.

Regards,
Panagiotis

--
Panagiotis J. Christias    Network Management Center
p.christias AT noc.ntua DOT gr    National Technical Univ. of Athens, GREECE
--- ezjail/ezjail-admin.orig	2010-08-03 18:15:23.000000000 +0300
+++ ezjail/ezjail-admin	2010-08-03 18:16:58.000000000 +0300
@@ -299,6 +299,7 @@
   # The ugly perl hack[tm]. Note: we wont do such things for any given
   # port :(
   [ "${ezjail_uglyperlhack}" -a ! -L "${ezjail_jailbase}/usr/bin/perl" ] && ln -s /usr/local/bin/perl "${ezjail_jailbase}/usr/bin/perl"
+  [ "${ezjail_uglyperlhack}" -a ! -L "${ezjail_jailbase}/usr/bin/perl5" ] && ln -s /usr/local/bin/perl5 "${ezjail_jailbase}/usr/bin/perl5"
 }
 
 # The user may want to have a ports tree in basejail