pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/zola



Module Name:    pkgsrc
Committed By:   nikita
Date:           Thu Mar 31 15:29:29 UTC 2022

Modified Files:
        pkgsrc/www/zola: Makefile

Log Message:
zola: Fix build in sandbox.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/zola/Makefile

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

Modified files:

Index: pkgsrc/www/zola/Makefile
diff -u pkgsrc/www/zola/Makefile:1.8 pkgsrc/www/zola/Makefile:1.9
--- pkgsrc/www/zola/Makefile:1.8        Mon Mar 28 12:58:26 2022
+++ pkgsrc/www/zola/Makefile    Thu Mar 31 15:29:29 2022
@@ -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 @@ USE_TOOLS+= gmake
 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