pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/zola zola: Fix build in sandbox.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb96f49f6fd4
branches:  trunk
changeset: 376014:eb96f49f6fd4
user:      nikita <nikita%pkgsrc.org@localhost>
date:      Thu Mar 31 15:29:29 2022 +0000

description:
zola: Fix build in sandbox.

diffstat:

 www/zola/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 90a93f9722e2 -r eb96f49f6fd4 www/zola/Makefile
--- a/www/zola/Makefile Thu Mar 31 12:16:24 2022 +0000
+++ b/www/zola/Makefile Thu Mar 31 15:29:29 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2022/03/28 12:58:26 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2022/03/31 15:29:29 nikita Exp $
 
 DISTNAME=      zola-0.15.3
+PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=getzola/}
 GITHUB_PROJECT=        zola
@@ -18,10 +19,12 @@
 INSTALLATION_DIRS=     bin
 
 MAKE_ENV+=             OPENSSL_DIR=${BUILDLINK_PREFIX.openssl:Q}
+RUSTFLAGS+=            -C link-arg=-L${BUILDLINK_PREFIX.SDL2}/lib
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/target/release/zola ${DESTDIR}${PREFIX}/bin
 
+.include "../../devel/SDL2/buildlink3.mk"
 .include "../../lang/rust/cargo.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index