aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2008-08-10 23:17:49 +0800
committeralepulver <alepulver@FreeBSD.org>2008-08-10 23:17:49 +0800
commitdfa15572956841a3d7b580b6c6095cfaa2500f15 (patch)
treede6b690f4f724e7a86ea87de29d0f6128c801a89 /lang
parent5c53e79e28b16b9ad6f7bc68dc51b6e66405512d (diff)
downloadfreebsd-ports-gnome-dfa15572956841a3d7b580b6c6095cfaa2500f15.tar.gz
freebsd-ports-gnome-dfa15572956841a3d7b580b6c6095cfaa2500f15.tar.zst
freebsd-ports-gnome-dfa15572956841a3d7b580b6c6095cfaa2500f15.zip
- Split AR parameters to ARFLAGS variable to allow redefining AR for
cross-compilation. PR: ports/121834 Submitted by: John Hein <jhein@timing.com> Approved by: maintainer (timeout)
Diffstat (limited to 'lang')
-rw-r--r--lang/lua/files/patch-src-Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/lang/lua/files/patch-src-Makefile b/lang/lua/files/patch-src-Makefile
new file mode 100644
index 000000000000..51b3075c88c8
--- /dev/null
+++ b/lang/lua/files/patch-src-Makefile
@@ -0,0 +1,21 @@
+--- src/Makefile.orig 2006-03-21 17:41:49.000000000 -0700
++++ src/Makefile 2008-03-18 09:41:01.000000000 -0600
+@@ -9,7 +9,8 @@
+
+ CC= gcc
+ CFLAGS= -O2 -Wall $(MYCFLAGS)
+-AR= ar rcu
++ARFLAGS= rcu
++AR= ar
+ RANLIB= ranlib
+ RM= rm -f
+ LIBS= -lm $(MYLIBS)
+@@ -48,7 +49,7 @@
+ a: $(ALL_A)
+
+ $(LUA_A): $(CORE_O) $(LIB_O)
+- $(AR) $@ $?
++ $(AR) $(ARFLAGS) $@ $?
+ $(RANLIB) $@
+
+ $(LUA_T): $(LUA_O) $(LUA_A)