mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Fix on amd64
- Respect CC - Check for lua version correctly PR: 136786, 136789 Submitted by: Andrew Lewis <freeghb@gmail.com> (maintainer)
This commit is contained in:
parent
a251132ad7
commit
7215ba5a5a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237902
@ -16,17 +16,18 @@ COMMENT= LuaExpat is a SAX XML parser based on the Expat library
|
||||
|
||||
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
MAKEFILE= makefile
|
||||
ALL_TARGET= lib
|
||||
USE_LUA= 5.0-5.1
|
||||
LUA_PREMK= yes
|
||||
WANT_LUA_VER= 5.1
|
||||
|
||||
CFLAGS+= -fPIC
|
||||
|
||||
.if ${USE_LUA} == 5.0
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${LUA_VER} == 5.0
|
||||
BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/devel/lua50-compat51:build
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- config.orig 2006-06-08 20:41:48.000000000 +0000
|
||||
+++ config 2009-07-03 03:00:20.000000000 +0000
|
||||
--- config.orig 2006-06-09 00:41:48.000000000 +0400
|
||||
+++ config 2009-07-15 22:46:59.000000000 +0400
|
||||
@@ -1,15 +1,15 @@
|
||||
# Installation directories
|
||||
# System's libraries directory (where binary libraries are installed)
|
||||
@ -30,3 +30,12 @@
|
||||
|
||||
# Compilation parameters
|
||||
CWARNS = -Wall -pedantic \
|
||||
@@ -31,6 +31,6 @@
|
||||
-Wshadow \
|
||||
-Wwrite-strings
|
||||
|
||||
-CFLAGS = $(CWARNS) -ansi -O2 -I$(LUA_INC) \
|
||||
+CFLAGS += $(CWARNS) -ansi -O2 -I$(LUA_INC) \
|
||||
-I$(COMPAT_DIR) -I$(EXPAT_INC)
|
||||
-CC = gcc
|
||||
+CC? = gcc
|
||||
|
Loading…
Reference in New Issue
Block a user