mirror of
https://git.freebsd.org/ports.git
synced 2025-06-29 16:40:31 -04:00
use lib directive. This is due to the installation procedure assumes the existence of libexecdir. Fix this problem and bump PORTREVISION. PR: ports/115443 Reported by: Stefan Kaltenbrunner <stefan at kaltenbrunner.cc> Patched by: Jarrod Sayers <jarrod at netleader.com.au> (maintainer)
11 lines
284 B
Text
11 lines
284 B
Text
--- plugins-scripts/subst.in.orig Wed Aug 31 07:41:42 2005
|
|
+++ plugins-scripts/subst.in Sun Sep 30 18:16:42 2007
|
|
@@ -1,7 +1,7 @@
|
|
#!/usr/bin/awk
|
|
|
|
function which(c,path) {
|
|
- cmd = "test -x " c;
|
|
+ cmd = "[ " c " = @libexecdir@ ] || test -x " c;
|
|
|
|
if (system(cmd)==0) {
|
|
return c;
|