pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54505: devezlua-cqueues



>Number:         54505
>Category:       pkg
>Synopsis:       devezlua-cqueues
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 29 10:20:00 +0000 2019
>Originator:     clement bouvier
>Release:        current
>Organization:
>Environment:
macOS mojave
>Description:
Openssl dependency lacking on macOS:

 fatal error: 'openssl/ssl.h' file not found
#include <openssl/ssl.h> /* SSL_CTX, SSL_CTX_free(), SSL_CTX_up_ref(), SSL, SSL_up_ref() */
>How-To-Repeat:
Build the package
>Fix:
The patch below adds the openssl dependency.

It also adds m4 in USE_TOOLS ; some platform need to have m4: ( in /src/GNUmakefile line 42:

# NOTE: M4 might fail so delay creating $@
$(d)/errno.c: $(d)/errno.c.m4
        cd $(@D) && $(M4) $< >| $@.tmp
        mv $@.tmp $@

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/lua-cqueues/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile	26 Jan 2019 00:57:56 -0000	1.1.1.1
+++ Makefile	29 Aug 2019 10:16:38 -0000
@@ -12,7 +12,7 @@
 LICENSE=	mit
 
 USE_LANGUAGES=	c
-USE_TOOLS+=	gmake
+USE_TOOLS+=	gmake m4
 
 MAKE_ENV+=	prefix=${PREFIX}
 
@@ -20,4 +20,5 @@
 INSTALL_TARGET=	install${_LUA_DOT_VERSION}
 
 .include "../../lang/lua/module.mk"
+.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index