]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/groff
Zwischencommit beim Umzug auf LFS 6.2.
[people/teissler/ipfire-2.x.git] / lfs / groff
index e5e9ebca606bdc89fac166266b48594206a82cd4..d2df3929e9463776a0474490a8ec34b0835c58b5 100644 (file)
--- a/lfs/groff
+++ b/lfs/groff
 # Makefiles are based on LFSMake, which is                                    #
 # Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com>                        #
 #                                                                             #
-# Modifications by:                                                           #
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com>                               #
-#          - Modified Makefile for IPCop build                                #
-#                                                                             #
-# $Id: groff,v 1.3.2.2 2005/02/05 15:38:15 gespinasse Exp $
-#                                                                             #
 ###############################################################################
 
 ###############################################################################
 
 include Config
 
-VER        = 1.19
+VER        = 1.18.1.1
 
 THISAPP    = groff-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
-DL_FROM    = $(URL_GNU)/groff
+DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
@@ -48,7 +42,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = c12bf574120df33ec8c18d92703e099e
+$(DL_FILE)_MD5 = 511dbd64b67548c99805f1521f82cc5e
 
 install : $(TARGET)
 
@@ -78,11 +72,13 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && PAGE=letter ./configure --prefix=/usr --disable-nls
-       cd $(DIR_APP) && make
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-debian_fixes-1.patch
+       cd $(DIR_APP) && sed -i -e 's/2010/002D/' -e 's/2212/002D/' \
+                               -e 's/2018/0060/' -e 's/2019/0027/' font/devutf8/R.proto
+       cd $(DIR_APP) && PAGE=A4 ./configure --prefix=/usr --enable-multibyte --disable-nls
+       cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
-       ln -sf soelim /usr/bin/zsoelim
-       ln -sf eqn /usr/bin/geqn
-       ln -sf tbl /usr/bin/gtbl
+       ln -sv eqn /usr/bin/geqn
+       ln -sv tbl /usr/bin/gtbl
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)