summaryrefslogtreecommitdiff
path: root/filesystems/fuse-svnfs/patches/patch-aa
blob: 9eaa41eefe17a5f9bba9843f6746beac51f531a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-aa,v 1.1.1.1 2007/12/13 07:00:16 bjs Exp $

--- svn-config.pl.orig	2007-06-11 04:50:03.000000000 -0400
+++ svn-config.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/pkg/bin/perl
 #
 # Hacky replacement for (non-existant) svn-config to find the libraries,
 # the library path and the include file path.
@@ -47,7 +47,7 @@ if( $libs ) {
 }
 
 if( $includes ) {
-   open(IN, "ls -d /usr/include/subversion* 2>/dev/null |");
+   open(IN, "ls -d @LOCALBASE@/include/subversion-* 2>/dev/null |");
    while( <IN> ) {
       chomp();
       $out_includes = $out_includes."-I".$_." ";