--- gawk-4.1.1/extension/Makefile.in.orig 2014-04-09 21:36:45.456841989 +0200 +++ gawk-4.1.1/extension/Makefile.in 2014-04-09 21:38:25.914388455 +0200 @@ -1231,7 +1231,7 @@ install-data-hook: for i in $(pkgextension_LTLIBRARIES) ; do \ - $(RM) $(pkgextensiondir)/$$i ; \ + $(RM) $(DESTDIR)$(pkgextensiondir)/$$i ; \ done # Keep the uninstall check working: