Package: nfswatch
Version: 4.99.11-7
Severity: normal
Tags: patch
User: debian-gl...@lists.debian.org
Usertags: rpc-removal

Dear maintainer,

Thanks for switching nfswatch from the glibc SunRPC implementation to
the TI RPC one. It appears however that it doesn't build with the SunRPC
headers removed due to a small typo in the debian/rules file. The patch
below fixes that.

Regards,
Aurelien

--- nfswatch-4.99.11/debian/rules
+++ nfswatch-4.99.11/debian/rules
@@ -3,7 +3,7 @@
 # Variable name for injection further CFLAGS into build
 # is not optimally chosen as it relates to rpm builds
 export RPM_OPT_FLAGS+=$(shell dpkg-buildflags --get CFLAGS)
-export RPM_OPT_FLAGS+=$(pkg-config --cflags libtirpc)
+export RPM_OPT_FLAGS+=$(shell pkg-config --cflags libtirpc)
 
 %:
        dh $@

Reply via email to