diff options
Diffstat (limited to 'lang')
-rw-r--r-- | lang/lua/Makefile | 2 | ||||
-rw-r--r-- | lang/lua4/Makefile | 2 | ||||
-rw-r--r-- | lang/lua50/Makefile | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile index c450519a98dc..9801b647d43b 100644 --- a/lang/lua/Makefile +++ b/lang/lua/Makefile @@ -22,6 +22,8 @@ MAN1= lua.1 luac.1 MAKE_ARGS= bsd +CONFLICTS= lua-4* lua-5.0* + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} diff --git a/lang/lua4/Makefile b/lang/lua4/Makefile index c79d286f7b62..67a2deb0253c 100644 --- a/lang/lua4/Makefile +++ b/lang/lua4/Makefile @@ -24,6 +24,8 @@ WRKSRC= ${WRKDIR}/lua ALL_TARGET= all so INSTALLS_SHLIB= YES +CONFLICTS= lua-5* + do-install: @ ${MKDIR} ${PREFIX}/share/doc/lua @ ${INSTALL_PROGRAM} ${WRKSRC}/bin/lua ${PREFIX}/bin diff --git a/lang/lua50/Makefile b/lang/lua50/Makefile index 1116c58815df..253e5b3e9593 100644 --- a/lang/lua50/Makefile +++ b/lang/lua50/Makefile @@ -25,6 +25,8 @@ ALL_TARGET= all so INSTALL_TARGET= install soinstall INSTALLS_SHLIB= YES +CONFLICTS= lua-4* lua-5.1* + do-configure: ${REINPLACE_CMD} \ -e 's|^\(MYCFLAGS=\).*$$|\1 ${CFLAGS}|' \ |