opt/lua51/lua-5.1-cflags.diff
Danny Rawlins 2b1ca3f91a [notify] lua51: initial import
Please update your ports that require this older version of lua to use lua51 for depends on, and make sure it searches for lua5.1 instead of lua on pkg-config
2013-05-30 17:08:15 +10:00

14 lines
338 B
Diff

diff -Naur lua-5.1.orig/src/Makefile lua-5.1/src/Makefile
--- lua-5.1.orig/src/Makefile 2006-02-16 16:45:09.000000000 +0100
+++ lua-5.1/src/Makefile 2006-03-01 14:55:29.000000000 +0100
@@ -8,7 +8,8 @@
PLAT= none
CC= gcc
-CFLAGS= -O2 -Wall $(MYCFLAGS)
+CFLAGS ?= -O2 -Wall
+CFLAGS += $(MYCFLAGS)
AR= ar rcu
RANLIB= ranlib
RM= rm -f