]> git.pld-linux.org Git - packages/emacs.git/commitdiff
- add bootstrap bcond which builds emacs without gpm support auto/ti/emacs-23_3b-3
authorlisu <lisu@pld-linux.org>
Wed, 11 Jan 2012 10:22:37 +0000 (10:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    emacs.spec -> 1.112

emacs.spec

index f2a174d077b725bdf6c7f2d5082deeb7935886fe..a79f5e773bb09b02e027aa2cf9563f0a672eb96c 100644 (file)
@@ -4,11 +4,12 @@
 # - package ctags/etags in subpackage?
 #
 # Conditional build:
-%bcond_without athena  # don't build athena version
-%bcond_without gtk     # don't build GTK+2 version
-%bcond_without motif   # don't build motif version
-%bcond_without nox     # don't build nox version
-
+%bcond_without athena          # don't build athena version
+%bcond_without gtk             # don't build GTK+2 version
+%bcond_without motif           # don't build motif version
+%bcond_without nox             # don't build nox version
+%bcond_with    bootstrap       # build bootsrtap version
+#
 Summary:       The Emacs text editor for the X Window System
 Summary(de.UTF-8):     GNU Emacs
 Summary(es.UTF-8):     GNU Emacs
@@ -405,7 +406,8 @@ mkdir build-athena && cd build-athena
        --with-tiff \
        --with-gif \
        --with-png \
-       --with-x-toolkit=athena
+       --with-x-toolkit=athena \
+       %{?with_bootstrap:--without-gpm}
 
 %{__make} -j1 bootstrap
 %define        bootstrap athena
@@ -423,7 +425,8 @@ mkdir build-gtk && cd build-gtk
        --with-tiff \
        --with-gif \
        --with-png \
-       --with-x-toolkit=gtk
+       --with-x-toolkit=gtk \
+       %{?with_bootstrap:--without-gpm}
 
 %if %{?bootstrap}
 %{__make}
@@ -445,7 +448,8 @@ mkdir build-motif && cd build-motif
        --with-tiff \
        --with-gif \
        --with-png \
-       --with-x-toolkit=motif
+       --with-x-toolkit=motif \
+       %{?with_bootstrap:--without-gpm}
 
 %if %{?bootstrap}
 %{__make}
@@ -467,7 +471,8 @@ mkdir build-nox && cd build-nox
        --without-tiff \
        --without-gif \
        --without-png \
-       --with-x=no
+       --with-x=no \
+       %{?with_bootstrap:--without-gpm}
 
 %if %{?bootstrap}
 %{__make}
This page took 0.119225 seconds and 4 git commands to generate.