pkgsrc-Changes archive

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

CVS commit: pkgsrc/security



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Jul  3 20:41:36 UTC 2020

Modified Files:
        pkgsrc/security/lua-arc4random: Makefile
        pkgsrc/security/lua-bcrypt: Makefile

Log Message:
attempt to fix build on SunOS


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/security/lua-arc4random/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/lua-bcrypt/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/lua-arc4random/Makefile
diff -u pkgsrc/security/lua-arc4random/Makefile:1.3 pkgsrc/security/lua-arc4random/Makefile:1.4
--- pkgsrc/security/lua-arc4random/Makefile:1.3 Thu Jul  2 17:52:03 2020
+++ pkgsrc/security/lua-arc4random/Makefile     Fri Jul  3 20:41:36 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2020/07/02 17:52:03 nia Exp $
+# $NetBSD: Makefile,v 1.4 2020/07/03 20:41:36 nia Exp $
 
 DISTNAME=      lua-arc4random-1.3.4
 PKGNAME=       ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1}
@@ -20,4 +20,8 @@ do-install:
        ${INSTALL_LIB} ${WRKSRC}/arc4random.so ${DESTDIR}${PREFIX}/${LUA_CDIR}
 
 .include "../../lang/lua/module.mk"
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
+.  include "../../security/openssl/buildlink3.mk"
+.endif
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/security/lua-bcrypt/Makefile
diff -u pkgsrc/security/lua-bcrypt/Makefile:1.1 pkgsrc/security/lua-bcrypt/Makefile:1.2
--- pkgsrc/security/lua-bcrypt/Makefile:1.1     Thu Jul  2 17:59:02 2020
+++ pkgsrc/security/lua-bcrypt/Makefile Fri Jul  3 20:41:36 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/07/02 17:59:02 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/07/03 20:41:36 nia Exp $
 
 DISTNAME=      lua-bcrypt-2.1.5
 PKGNAME=       ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1}
@@ -14,10 +14,18 @@ LICENSE=    isc
 
 USE_TOOLS+=    gmake
 
+CFLAGS.SunOS+= -Du_int8_t=uint8_t
+CFLAGS.SunOS+= -Du_int16_t=uint16_t
+CFLAGS.SunOS+= -Du_int32_t=uint32_t
+
 INSTALLATION_DIRS+=    ${LUA_CDIR}
 
 do-install:
        ${INSTALL_LIB} ${WRKSRC}/bcrypt.so ${DESTDIR}${PREFIX}/${LUA_CDIR}
 
 .include "../../lang/lua/module.mk"
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
+.  include "../../security/openssl/buildlink3.mk"
+.endif
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index