diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/rpcsvc-proto/package.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/rpcsvc-proto/package.py b/var/spack/repos/builtin/packages/rpcsvc-proto/package.py index a0cb3d307b..e0601a261a 100644 --- a/var/spack/repos/builtin/packages/rpcsvc-proto/package.py +++ b/var/spack/repos/builtin/packages/rpcsvc-proto/package.py @@ -18,3 +18,10 @@ class RpcsvcProto(AutotoolsPackage): def configure_args(self): return ['LIBS=-lintl'] + + @run_before('build') + def change_makefile(self): + # Add 'cpp' path for rpcgen + filter_file('rpcgen/rpcgen', + 'rpcgen/rpcgen -Y {0}/lib/spack/env'.format(spack.paths.spack_root), + 'rpcsvc/Makefile') |