mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
- Fix build on 6.X
Submitted by: Anonymous <swell.k@gmail.com> (maintainer)
This commit is contained in:
parent
9092473c3c
commit
2c247cfbe3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=260337
@ -20,11 +20,11 @@ LICENSE= MIT
|
||||
USE_LUA= 5.1
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include -I${LUA_INCDIR} \
|
||||
-DBSD -fPIC -fno-stack-protector
|
||||
-DBSD -fPIC #-fno-stack-protector
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -L${LUA_LIBDIR} -llua -shared
|
||||
MAKE_ENV+= LIB_OPTION="${LDFLAGS}" LIB_EXT=".so" LUA="${LUA_CMD}"
|
||||
|
||||
# add lua prefix in pkgname
|
||||
# add lua prefix to directories
|
||||
.for p in data: docs:doc/ examples:examples/
|
||||
${p:C/:.*//:U}DIR_REL= share/${p:C/.*://}${LUA_PKGNAMEPREFIX}${PORTNAME}
|
||||
${p:C/:.*//:U}DIR= ${PREFIX}/${${p:C/:.*//:U}DIR_REL}
|
||||
|
Loading…
Reference in New Issue
Block a user