summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Ostorga <vostorga@gentoo.org>2009-08-25 18:40:37 +0000
committerVictor Ostorga <vostorga@gentoo.org>2009-08-25 18:40:37 +0000
commit32f52059fb6c3c2992c5b920f3f821e3af9ddde1 (patch)
treea15e77247b0d13419b565c51c6213ea29d36ced1 /dev-util/biew/files
parentStable on alpha, bug #268190 (diff)
downloadhistorical-32f52059fb6c3c2992c5b920f3f821e3af9ddde1.tar.gz
historical-32f52059fb6c3c2992c5b920f3f821e3af9ddde1.tar.bz2
historical-32f52059fb6c3c2992c5b920f3f821e3af9ddde1.zip
Respecting CC, LD, AR, RANLIB variables, bug #243972, Fixing pre-stripped files, bug #255833 , Fixing man page location bug #255835 , Respecting CFLAGS and LDFLAGS , Now builds in ~amd64 , thanks to Diego E.
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'dev-util/biew/files')
-rw-r--r--dev-util/biew/files/biew-570-configure-gpm.patch16
-rw-r--r--dev-util/biew/files/biew-570-configure.patch31
-rw-r--r--dev-util/biew/files/biew-570-makefile.patch13
3 files changed, 40 insertions, 20 deletions
diff --git a/dev-util/biew/files/biew-570-configure-gpm.patch b/dev-util/biew/files/biew-570-configure-gpm.patch
deleted file mode 100644
index 61497f80ca89..000000000000
--- a/dev-util/biew/files/biew-570-configure-gpm.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- configure.old 2008-12-24 13:26:59.000000000 -0800
-+++ configure 2008-12-24 13:34:00.000000000 -0800
-@@ -478,8 +478,11 @@
- #include <gpm.h>
- int main(void) {return 0;}
- EOF
-- _gpm=no
-- cc_check -lgpm && _gpm=yes
-+ # _gpm may be forced from command line
-+ if test -z "$_gpm" ; then
-+ _gpm=no
-+ cc_check -lgpm && _gpm=yes
-+ fi
- if test "$_gpm" = yes ; then
- _cdefos="-DHAVE_MOUSE $_cdefos"
- _oslibs="-lgpm $_oslibs"
diff --git a/dev-util/biew/files/biew-570-configure.patch b/dev-util/biew/files/biew-570-configure.patch
new file mode 100644
index 000000000000..428e7d31e7aa
--- /dev/null
+++ b/dev-util/biew/files/biew-570-configure.patch
@@ -0,0 +1,31 @@
+diff -NrU5 biew-570.original/configure biew-570/configure
+--- biew-570.original/configure 2009-08-25 16:18:03.000000000 -0600
++++ biew-570/configure 2009-08-25 16:54:17.000000000 -0600
+@@ -467,21 +467,24 @@
+ qnxnto)
+ _cdefos="-D__QNX6__ -D__UNIX__ -D__OS_NAME__='\"QNX6\"' -D__OS__=\"qnxnto\" -U__QNX__ -U__NTO__ -D_VT100_ -DHAVE_TERMINAL_OUT=1 -D__DISABLE_MMF -DPREFIX=\"$_prefix\" $_cdefos"
+ _oslibs="-lncurses $_oslibs"
+ ;;
+ linux)
+- if test $_ld=gcc ; then
++ if test $_ld = gcc -o $_ld = x86_64-pc-linux-gnu-gcc -o $_ld = i686-pc-linux-gnu-gcc; then
+ _osldef="-m32 $_osldef"
+ fi
+ _cdefos="-D__LINUX__ -D__UNIX__ -D__OS_NAME__='\"Linux\"' -D__OS__=\"linux\" -Ulinux -D_VT100_ -DHAVE_TERMINAL_OUT=1 -DPREFIX=\"$_prefix\" $_cdefos"
+ echocheck "gpm.h"
+ cat > $TMPC << EOF
+ #include <gpm.h>
+ int main(void) {return 0;}
+ EOF
+- _gpm=no
+- cc_check -lgpm && _gpm=yes
++ # _gpm may be forced from command line
++ if test -z "$_gpm" ; then
++ _gpm=no
++ cc_check -lgpm && _gpm=yes
++ fi
+ if test "$_gpm" = yes ; then
+ _cdefos="-DHAVE_MOUSE $_cdefos"
+ _oslibs="-lgpm $_oslibs"
+ fi
+ echores "$_gpm"
diff --git a/dev-util/biew/files/biew-570-makefile.patch b/dev-util/biew/files/biew-570-makefile.patch
index eda929ba33d1..8943da94744d 100644
--- a/dev-util/biew/files/biew-570-makefile.patch
+++ b/dev-util/biew/files/biew-570-makefile.patch
@@ -1,6 +1,9 @@
---- makefile.orig 2008-12-21 12:33:37.001959467 +0100
-+++ makefile 2008-12-21 12:38:56.925669582 +0100
-@@ -271,16 +271,16 @@
+diff -NrU5 biew-570.original/makefile biew-570/makefile
+--- biew-570.original/makefile 2009-08-25 18:45:37.000000000 -0600
++++ biew-570/makefile 2009-08-25 18:47:01.000000000 -0600
+@@ -269,20 +269,20 @@
+ @echo "*** installation. Please download 'fileutils' from ftp://ftp.gnu.org and"
+ @echo "*** install them to have possibility perform autiomatic installation"
@echo "*** of this project"
@exit 1
endif
@@ -15,7 +18,7 @@
- $(INSTALL) -D -c -m 644 bin_rc/xlt/russian/*.xlt $(DATADIR)/xlt/russian
- $(INSTALL) -D -c -m 644 bin_rc/xlt/*.xlt bin_rc/xlt/readme $(DATADIR)/xlt
+ $(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET)
-+ $(INSTALL) -D -c -m 644 doc/biew.1 $(DESTDIR)$(PREFIX)/man/man1/biew.1
++ $(INSTALL) -D -c -m 644 doc/biew.1 $(DESTDIR)$(DATADIR)/man/man1/biew.1
+ $(INSTALL) -D -c -m 644 bin_rc/biew.hlp $(DESTDIR)$(DATADIR)/biew.hlp
+ mkdir --parents $(DESTDIR)$(DATADIR)/skn
+ $(INSTALL) -D -c -m 644 bin_rc/skn/*.skn $(DESTDIR)$(DATADIR)/skn
@@ -27,3 +30,5 @@
uninstall:
$(RM) $(PREFIX)/bin/$(TARGET)
$(RM) $(DATADIR)/skn/*
+ rmdir -p --ignore-fail-on-non-empty $(DATADIR)/skn
+ $(RM) $(DATADIR)/syntax/*