Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1.1.1 2015/01/17 17:50:23 alnsn Exp $
# $NetBSD: Makefile,v 1.2 2015/12/05 22:50:26 alnsn Exp $
DISTNAME= lua-${LUA_VERSION}
PKGNAME= lua53-${LUA_VERSION}
@@ -24,6 +24,16 @@ MAKE_ENV+= DLLIB=${BUILDLINK_LDADD.dl:Q}
MAKE_ENV+= INSTALL_DATA=${INSTALL_DATA:Q}
CFLAGS+= -DLUA_ROOT=\"${PREFIX}/\"
# Address pkg/47587 lua not linked to pthread causes issues with modules
PTHREAD_OPTS+= native
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
CFLAGS+= -pthread
LDFLAGS+= -pthread
.endif
PKGCONFIG_OVERRIDE= ${WRKSRC}/lua.pc
INSTALLATION_DIRS+= lib/pkgconfig share/doc/lua-5.3