summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/lua-sql-mysql/Makefile.common3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/lua-sql-mysql/Makefile.common b/databases/lua-sql-mysql/Makefile.common
index 4eb49ec6c36..312f0c266cd 100644
--- a/databases/lua-sql-mysql/Makefile.common
+++ b/databases/lua-sql-mysql/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2018/10/26 11:00:05 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.4 2018/10/29 14:35:09 jperkin Exp $
#
# used by databases/lua-sql-postgres/Makefile
# used by databases/lua-sql-sqlite/Makefile
@@ -18,6 +18,7 @@ HOMEPAGE= https://keplerproject.github.io/luasql/
USE_TOOLS+= gmake
MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
+MAKE_FLAGS+= LUA_LIBDIR=${DESTDIR}${PREFIX}/${LUA_CDIR}
MAKE_FLAGS+= LUA_INC=${BUILDLINK_PREFIX.${LUA_PACKAGE}}/${LUA_INCDIR}
DISTINFO_FILE= ${.CURDIR}/../../databases/lua-sql-mysql/distinfo