summaryrefslogtreecommitdiffstats
path: root/contrib/redhat
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-09-19 16:58:21 +1000
committerDamien Miller <djm@mindrot.org>2003-09-19 16:58:21 +1000
commit968c8d25e9201e4b75b56951df9082af5ed0499a (patch)
tree8a7754768b653efdd84ae073cce5ed9ebc8b03fb /contrib/redhat
parentf09ad861e62978d4f6d77453977d7b58d63caf07 (diff)
- (djm) Bug #641: Allow RedHat RPM building without GTK-2; Patch from
jason AT devrandom.org
Diffstat (limited to 'contrib/redhat')
-rw-r--r--contrib/redhat/openssh.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec
index b65f3783..9c75c033 100644
--- a/contrib/redhat/openssh.spec
+++ b/contrib/redhat/openssh.spec
@@ -34,6 +34,11 @@
%{?skip_x11_askpass:%define no_x11_askpass 1}
%{?skip_gnome_askpass:%define no_gnome_askpass 1}
+# Add option to build without GTK2 for older platforms with only GTK+.
+# RedHat <= 7.2 and Red Hat Advanced Server 2.1 are examples.
+# rpm -ba|--rebuild --define 'no_gtk2 1'
+%{?no_gtk2:%define gtk2 0}
+
# Is this a build for RHL 6.x or earlier?
%{?build_6x:%define build6x 1}