diff options
Diffstat (limited to 'net-ftp/ncftp/files/ncftp-3.2.2-build.patch')
-rw-r--r-- | net-ftp/ncftp/files/ncftp-3.2.2-build.patch | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/net-ftp/ncftp/files/ncftp-3.2.2-build.patch b/net-ftp/ncftp/files/ncftp-3.2.2-build.patch index 83eca4381004..f6f8b4df0170 100644 --- a/net-ftp/ncftp/files/ncftp-3.2.2-build.patch +++ b/net-ftp/ncftp/files/ncftp-3.2.2-build.patch @@ -1,14 +1,18 @@ +The first change makes sure $D/ESTDIR isn't created. + The original build system assumes that in DESTDIR, a mandir (say, /usr/share/man) already exists. Using -p may not be compatible, but then again this is a Gentoo specific patch. -JeR ---- Makefile.in.orig 2008-08-24 18:59:47.000000000 +0200 -+++ Makefile.in 2008-08-24 19:01:45.000000000 +0200 -@@ -44,7 +44,7 @@ +--- Makefile.in.orig 2008-08-25 04:10:21.000000000 +0200 ++++ Makefile.in 2008-08-25 04:11:51.000000000 +0200 +@@ -43,8 +43,8 @@ + @( cd ./ncftp ; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS)" ) @( cd ./sh_util ; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS)" ) @( cd ./vis ; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS)" ) - -@test -z "$(DESTDIR)" || mkdir -p "$DESTDIR" 2>/dev/null +- -@test -z "$(DESTDIR)" || mkdir -p "$DESTDIR" 2>/dev/null - -mkdir "$(DESTDIR)$(prefix)" "$(DESTDIR)$(BINDIR)" "$(DESTDIR)$(SYSCONFDIR)" "$(DESTDIR)$(mandir)" "$(DESTDIR)$(mandir)/man1" 2>/dev/null ++ -@test -z "$(DESTDIR)" || mkdir -p "$(DESTDIR)" 2>/dev/null + -mkdir -p "$(DESTDIR)$(prefix)" "$(DESTDIR)$(BINDIR)" "$(DESTDIR)$(SYSCONFDIR)" "$(DESTDIR)$(mandir)/man1" 2>/dev/null -@echo '..... Installing the programs .....' $(INSTALL_PROGRAM) bin/ncftp@EXEEXT@ "$(DESTDIR)$(BINDIR)/ncftp@EXEEXT@" |