Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security attempt to fix build on SunOS
details: https://anonhg.NetBSD.org/pkgsrc/rev/49beb57f7962
branches: trunk
changeset: 435284:49beb57f7962
user: nia <nia%pkgsrc.org@localhost>
date: Fri Jul 03 20:41:36 2020 +0000
description:
attempt to fix build on SunOS
diffstat:
security/lua-arc4random/Makefile | 6 +++++-
security/lua-bcrypt/Makefile | 10 +++++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
diffs (46 lines):
diff -r f9a76a5f1eaa -r 49beb57f7962 security/lua-arc4random/Makefile
--- a/security/lua-arc4random/Makefile Fri Jul 03 19:57:23 2020 +0000
+++ b/security/lua-arc4random/Makefile Fri Jul 03 20:41:36 2020 +0000
@@ -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 @@
${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"
diff -r f9a76a5f1eaa -r 49beb57f7962 security/lua-bcrypt/Makefile
--- a/security/lua-bcrypt/Makefile Fri Jul 03 19:57:23 2020 +0000
+++ b/security/lua-bcrypt/Makefile Fri Jul 03 20:41:36 2020 +0000
@@ -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 @@
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