public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-lua/lanes/files: lanes-3.10.0-fix-makefile.patch
@ 2015-07-24 23:59 William Hubbs (williamh)
  0 siblings, 0 replies; only message in thread
From: William Hubbs (williamh) @ 2015-07-24 23:59 UTC (permalink / raw
  To: gentoo-commits

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 ---





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-24 23:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-24 23:59 [gentoo-commits] gentoo-x86 commit in dev-lua/lanes/files: lanes-3.10.0-fix-makefile.patch William Hubbs (williamh)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox