Manually written do-install sections like this are fragile. Can these Makefiles 
be changed so that they'll pick up files needed by future versions without 
further changes, or is there any build infrastructure in the distribution that 
can be used instead? Same for the other diff you sent.

On 14 December 2014 15:50:23 GMT+00:00, Sunil Nimmagadda <[email protected]> 
wrote:
>Hi,
>
>ssl.https module(ports/security/luasec) requires headers.lua. This
>diff fixes the dependency.
>
>Index: Makefile
>===================================================================
>RCS file: /cvs/ports/net/luasocket/Makefile,v
>retrieving revision 1.29
>diff -u -p -r1.29 Makefile
>--- Makefile   11 Jul 2014 08:54:57 -0000      1.29
>+++ Makefile   14 Dec 2014 15:27:19 -0000
>@@ -41,6 +41,7 @@ do-install:
>       ${INSTALL_DATA} ${WRKSRC}/src/ltn12.lua ${MODLUA_DATADIR}
>       ${INSTALL_DATA} ${WRKSRC}/src/mime.lua ${MODLUA_DATADIR}
>       ${INSTALL_DATA} ${WRKSRC}/src/ftp.lua ${MODLUA_DATADIR}/socket
>+      ${INSTALL_DATA} ${WRKSRC}/src/headers.lua ${MODLUA_DATADIR}/socket
>       ${INSTALL_DATA} ${WRKSRC}/src/http.lua ${MODLUA_DATADIR}/socket
>       ${INSTALL_DATA} ${WRKSRC}/src/smtp.lua ${MODLUA_DATADIR}/socket
>       ${INSTALL_DATA} ${WRKSRC}/src/tp.lua ${MODLUA_DATADIR}/socket
>Index: pkg/PLIST
>===================================================================
>RCS file: /cvs/ports/net/luasocket/pkg/PLIST,v
>retrieving revision 1.9
>diff -u -p -r1.9 PLIST
>--- pkg/PLIST  25 Nov 2013 15:27:56 -0000      1.9
>+++ pkg/PLIST  14 Dec 2014 15:27:19 -0000
>@@ -1,4 +1,4 @@
>-@comment $OpenBSD: PLIST,v 1.9 2013/11/25 15:27:56 dcoppa Exp $
>+@comment $OpenBSD$
> lib/lua/${MODLUA_VERSION}/mime/
> lib/lua/${MODLUA_VERSION}/mime/core.so
> lib/lua/${MODLUA_VERSION}/socket/
>@@ -40,6 +40,7 @@ share/lua/${MODLUA_VERSION}/mime.lua
> share/lua/${MODLUA_VERSION}/socket/
> share/lua/${MODLUA_VERSION}/socket.lua
> share/lua/${MODLUA_VERSION}/socket/ftp.lua
>+share/lua/${MODLUA_VERSION}/socket/headers.lua
> share/lua/${MODLUA_VERSION}/socket/http.lua
> share/lua/${MODLUA_VERSION}/socket/smtp.lua
> share/lua/${MODLUA_VERSION}/socket/tp.lua

-- 
Sent from a phone, please excuse the formatting.

Reply via email to