summaryrefslogtreecommitdiff
path: root/contrib/redhat
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-09-16 17:13:45 +1000
committerDamien Miller <djm@mindrot.org>2001-09-16 17:13:45 +1000
commit0b9278e92315f35f1187d66e3267888bdc3c5bff (patch)
tree6bcdbdc0dd9b348a6b45a5493a8f187e3185774a /contrib/redhat
parent426d6bdc00c297b6e014a86648bffb922daa8b97 (diff)
- (djm) Workaround XFree breakage in RPM spec file
Diffstat (limited to 'contrib/redhat')
-rw-r--r--contrib/redhat/openssh.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec
index 20e9bf4d..f67174fc 100644
--- a/contrib/redhat/openssh.spec
+++ b/contrib/redhat/openssh.spec
@@ -153,7 +153,11 @@ make
%if ! %{no_x11_askpass}
pushd x11-ssh-askpass-%{aversion}
-xmkmf -a
+xmkmf
+### Hacks to workaround XFree breakage
+perl -pi -e "s|distclean: |distclean:: |g" Makefile
+make SshAskpass_ad.h
+###
make
popd
%endif