public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs (williamh)" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-lua/lanes/files: lanes-3.10.0-fix-makefile.patch
Date: Fri, 24 Jul 2015 23:59:32 +0000 (UTC)	[thread overview]
Message-ID: <20150724235932.C49ACBB@oystercatcher.gentoo.org> (raw)

williamh    15/07/24 23:59:32

  Added:                lanes-3.10.0-fix-makefile.patch
  Log:
  initial commit
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x30C46538)

Revision  Changes    Path
1.1                  dev-lua/lanes/files/lanes-3.10.0-fix-makefile.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lanes/files/lanes-3.10.0-fix-makefile.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lanes/files/lanes-3.10.0-fix-makefile.patch?rev=1.1&content-type=text/plain

Index: lanes-3.10.0-fix-makefile.patch
===================================================================
diff --git a/Makefile b/Makefile
index fc44fac..6c87e89 100644
--- a/Makefile
+++ b/Makefile
@@ -202,17 +202,17 @@ _perftest:
 #
 # LUA_LIBDIR and LUA_SHAREDIR are used by the .rockspec (don't change the names!)
 #
-DESTDIR=/usr/local
-LUA_LIBDIR=$(DESTDIR)/lib/lua/5.1
-LUA_SHAREDIR=$(DESTDIR)/share/lua/5.1
+PREFIX=/usr/local
+LUA_LIBDIR=$(PREFIX)/lib/lua/5.1
+LUA_SHAREDIR=$(PREFIX)/share/lua/5.1
 
 #
 # AKa 17-Oct: changed to use 'install -m 644' and 'cp -p'
 #
 install: $(_TARGET_SO) src/lanes.lua
-	mkdir -p $(LUA_LIBDIR) $(LUA_LIBDIR)/lanes $(LUA_SHAREDIR)
-	install -m 644 $(_TARGET_SO) $(LUA_LIBDIR)/lanes
-	cp -p src/lanes.lua $(LUA_SHAREDIR)
+	mkdir -p $(DESTDIR)$(LUA_LIBDIR)/lanes $(DESTDIR)$(LUA_SHAREDIR)
+	install -m 644 $(_TARGET_SO) $(DESTDIR)$(LUA_LIBDIR)/lanes
+	cp -p src/lanes.lua $(DESTDIR)$(LUA_SHAREDIR)
 
 
 #--- Packaging ---





                 reply	other threads:[~2015-07-24 23:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150724235932.C49ACBB@oystercatcher.gentoo.org \
    --to=williamh@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox