[csw-devel] SF.net SVN: gar:[20880] csw/mgar/pkg/vim/trunk

lblume at users.sourceforge.net lblume at users.sourceforge.net
Sat Apr 27 15:24:20 CEST 2013


Revision: 20880
          http://gar.svn.sourceforge.net/gar/?rev=20880&view=rev
Author:   lblume
Date:     2013-04-27 13:24:20 +0000 (Sat, 27 Apr 2013)
Log Message:
-----------
vim/trunk: Make it possible to build vim on Solaris 9

Modified Paths:
--------------
    csw/mgar/pkg/vim/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/vim/trunk/files/0004-solaris9-msgfmt-hates-empty-files.patch

Modified: csw/mgar/pkg/vim/trunk/Makefile
===================================================================
--- csw/mgar/pkg/vim/trunk/Makefile	2013-04-27 12:29:22 UTC (rev 20879)
+++ csw/mgar/pkg/vim/trunk/Makefile	2013-04-27 13:24:20 UTC (rev 20880)
@@ -13,6 +13,9 @@
   Unix, MS Windows, OS/2, Macintosh, VMS, and Amiga.
 endef
 
+# Let's build a CLI vim for those stuck with S9
+PACKAGING_PLATFORMS += solaris9-sparc solaris9-i386
+
 PACKAGES           = CSWvim
 CATALOGNAME_CSWvim = vim
 SPKG_DESC_CSWvim   = Vi IMproved without GUI
@@ -55,6 +58,7 @@
 PATCHFILES  = $(foreach T,$(shell gseq -f "%03g" 001 $(PATCHREV)),$(DISTVERSION).$(T))
 
 PATCHFILES += 0003-solaris-sleep-does-not-do-decimals.patch
+PATCHFILES += 0004-solaris9-msgfmt-hates-empty-files.patch
 
 PATCHDIRLEVEL = 0
 
@@ -82,7 +86,6 @@
 # Note: Tests require controlling terminal
 TEST_TARGET = test
 
-
 include gar/category.mk
 
 post-configure: make-interps-lazy

Added: csw/mgar/pkg/vim/trunk/files/0004-solaris9-msgfmt-hates-empty-files.patch
===================================================================
--- csw/mgar/pkg/vim/trunk/files/0004-solaris9-msgfmt-hates-empty-files.patch	                        (rev 0)
+++ csw/mgar/pkg/vim/trunk/files/0004-solaris9-msgfmt-hates-empty-files.patch	2013-04-27 13:24:20 UTC (rev 20880)
@@ -0,0 +1,11 @@
+--- src/po/Makefile.original	Sat Apr 27 10:00:29 2013
++++ src/po/Makefile	Sat Apr 27 10:03:15 2013
+@@ -178,7 +178,7 @@
+ 
+ # nl.po was added later, if it does not exist use an empty file.
+ nl.po:
+-	touch nl.po
++	@( echo \# > nl.po )
+ 
+ # Norwegian/Bokmal: "nb" is an alias for "no".
+ # Copying the file is not efficient, but I don't know of another way to make

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list