Ticket #10858: 0001-Pass-INSTALL_ROOT-onto-the-zeromq-build-process-so-t.patch

File 0001-Pass-INSTALL_ROOT-onto-the-zeromq-build-process-so-t.patch, 1.4 KB (added by superm1@…, 9 years ago)

patch to modify zeromq build

  • mythtv/Makefile

    From 6cb5dd73c229d99befc5808c6ed9518183352ea5 Mon Sep 17 00:00:00 2001
    From: Mario Limonciello <superm1@ubuntu.com>
    Date: Mon, 25 Jun 2012 15:42:25 -0500
    Subject: [PATCH] Pass INSTALL_ROOT onto the zeromq build process so that it
     will obey paths while building for packages
    
    ---
     mythtv/Makefile          |    2 +-
     mythtv/external/Makefile |    2 +-
     2 files changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/mythtv/Makefile b/mythtv/Makefile
    index fb23f69..72e037c 100644
    a b $(addsuffix /Makefile,$(QT_SUBDIRS)): %/Makefile : 
    6262        cd $*; $(QMAKE) QMAKE=$(QMAKE) -o $(@F) $(<F)
    6363
    6464$(SUBDIRS): $(addsuffix /Makefile,$(SUBDIRS)) libs/libmythbase/version.h
    65         $(MAKE) -C $@
     65        $(MAKE) -C $@ INSTALL_ROOT=${INSTALL_ROOT}
    6666
    6767$(addsuffix _clean,$(SUBDIRS)): $(addsuffix /Makefile,$(SUBDIRS))
    6868        $(MAKE) -C $(subst _clean,,$@) clean
  • mythtv/external/Makefile

    diff --git a/mythtv/external/Makefile b/mythtv/external/Makefile
    index ca438a9..bc5a646 100644
    a b zeromq-all: zeromq/Makefile 
    2323        ${MAKE} -C zeromq all
    2424
    2525zeromq/Makefile:        zeromq/configure
    26         (cd zeromq ; ./configure --without-documentation --prefix=${PREFIX})
     26        (cd zeromq ; ./configure --without-documentation --prefix=${INSTALL_ROOT}/${PREFIX})
    2727
    2828zeromq-install zeromq-uninstall zeromq-clean zeromq-distclean:
    2929        ${MAKE} -C zeromq ${@:zeromq-%=%}