Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-ftp/ncftp/files: ncftp-3.2.2-build.patch
Date: Sun, 24 Aug 2008 17:33:06
Message-Id: E1KXJSa-0000tZ-6y@stork.gentoo.org
1 jer 08/08/24 17:33:04
2
3 Modified: ncftp-3.2.2-build.patch
4 Log:
5 Slight improvement on build patch. Add explanation.
6 (Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r7-JeR i686)
7
8 Revision Changes Path
9 1.2 net-ftp/ncftp/files/ncftp-3.2.2-build.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/ncftp/files/ncftp-3.2.2-build.patch?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/ncftp/files/ncftp-3.2.2-build.patch?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-ftp/ncftp/files/ncftp-3.2.2-build.patch?r1=1.1&r2=1.2
14
15 Index: ncftp-3.2.2-build.patch
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/net-ftp/ncftp/files/ncftp-3.2.2-build.patch,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- ncftp-3.2.2-build.patch 24 Aug 2008 17:17:30 -0000 1.1
22 +++ ncftp-3.2.2-build.patch 24 Aug 2008 17:33:03 -0000 1.2
23 @@ -1,3 +1,7 @@
24 +The original build system assumes that in DESTDIR, a mandir (say,
25 +/usr/share/man) already exists. Using -p may not be compatible, but then again
26 +this is a Gentoo specific patch. -JeR
27 +
28 --- Makefile.in.orig 2008-08-24 18:59:47.000000000 +0200
29 +++ Makefile.in 2008-08-24 19:01:45.000000000 +0200
30 @@ -44,7 +44,7 @@
31 @@ -5,7 +9,7 @@
32 @( cd ./vis ; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS)" )
33 -@test -z "$(DESTDIR)" || mkdir -p "$DESTDIR" 2>/dev/null
34 - -mkdir "$(DESTDIR)$(prefix)" "$(DESTDIR)$(BINDIR)" "$(DESTDIR)$(SYSCONFDIR)" "$(DESTDIR)$(mandir)" "$(DESTDIR)$(mandir)/man1" 2>/dev/null
35 -+ -mkdir -p "$(DESTDIR)$(prefix)" "$(DESTDIR)$(BINDIR)" "$(DESTDIR)$(SYSCONFDIR)" "$(DESTDIR)$(mandir)" "$(DESTDIR)$(mandir)/man1" 2>/dev/null
36 ++ -mkdir -p "$(DESTDIR)$(prefix)" "$(DESTDIR)$(BINDIR)" "$(DESTDIR)$(SYSCONFDIR)" "$(DESTDIR)$(mandir)/man1" 2>/dev/null
37 -@echo '..... Installing the programs .....'
38 $(INSTALL_PROGRAM) bin/ncftp@EXEEXT@ "$(DESTDIR)$(BINDIR)/ncftp@EXEEXT@"
39 $(INSTALL_PROGRAM) bin/ncftpget@EXEEXT@ "$(DESTDIR)$(BINDIR)/ncftpget@EXEEXT@"