packages: emacs/emacs.spec - add bootstrap bcond which builds emacs without...

lisu lisu at pld-linux.org
Wed Jan 11 11:22:42 CET 2012


Author: lisu                         Date: Wed Jan 11 10:22:42 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add bootstrap bcond which builds emacs without gpm support

---- Files affected:
packages/emacs:
   emacs.spec (1.111 -> 1.112) 

---- Diffs:

================================================================
Index: packages/emacs/emacs.spec
diff -u packages/emacs/emacs.spec:1.111 packages/emacs/emacs.spec:1.112
--- packages/emacs/emacs.spec:1.111	Tue Jan 10 17:08:51 2012
+++ packages/emacs/emacs.spec	Wed Jan 11 11:22:37 2012
@@ -5,11 +5,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
@@ -406,7 +407,8 @@
 	--with-tiff \
 	--with-gif \
 	--with-png \
-	--with-x-toolkit=athena
+	--with-x-toolkit=athena \
+	%{?with_bootstrap:--without-gpm}
 
 %{__make} -j1 bootstrap
 %define	bootstrap athena
@@ -424,7 +426,8 @@
 	--with-tiff \
 	--with-gif \
 	--with-png \
-	--with-x-toolkit=gtk
+	--with-x-toolkit=gtk \
+	%{?with_bootstrap:--without-gpm}
 
 %if %{?bootstrap}
 %{__make}
@@ -446,7 +449,8 @@
 	--with-tiff \
 	--with-gif \
 	--with-png \
-	--with-x-toolkit=motif
+	--with-x-toolkit=motif \
+	%{?with_bootstrap:--without-gpm}
 
 %if %{?bootstrap}
 %{__make}
@@ -468,7 +472,8 @@
 	--without-tiff \
 	--without-gif \
 	--without-png \
-	--with-x=no
+	--with-x=no \
+	%{?with_bootstrap:--without-gpm}
 
 %if %{?bootstrap}
 %{__make}
@@ -766,6 +771,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.112  2012/01/11 10:22:37  lisu
+- add bootstrap bcond which builds emacs without gpm support
+
 Revision 1.111  2012/01/10 16:08:51  lisu
 - no more separated libtinfo(w)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/emacs/emacs.spec?r1=1.111&r2=1.112&f=u



More information about the pld-cvs-commit mailing list