pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/hugo hugo: build the extended version.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cbb84deb65d9
branches:  trunk
changeset: 375004:cbb84deb65d9
user:      nikita <nikita%pkgsrc.org@localhost>
date:      Sat Mar 05 18:13:36 2022 +0000

description:
hugo: build the extended version.

diffstat:

 www/hugo/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 3fa605be4df4 -r cbb84deb65d9 www/hugo/Makefile
--- a/www/hugo/Makefile Sat Mar 05 15:00:16 2022 +0000
+++ b/www/hugo/Makefile Sat Mar 05 18:13:36 2022 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.54 2022/03/05 14:16:43 nikita Exp $
+# $NetBSD: Makefile,v 1.55 2022/03/05 18:13:36 nikita Exp $
 
 DISTNAME=      hugo-0.93.2
 PKGNAME=       go-${DISTNAME}
+PKGREVISION=   1
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=gohugoio/}
 CATEGORIES=    www
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -12,7 +13,12 @@
 COMMENT=       Fast & Modern Static Website Engine
 LICENSE=       apache-2.0
 
-GO_BUILD_PATTERN=
+GO_BUILD_PATTERN=      -tags "extended"
+
+MAKE_ENV+=     "CGO_ENABLED=1"
+MAKE_ENV+=     "CGO_LDFLAGS=-lm"
+USE_LANGUAGES+=        c c++
+LIBS+=         -lm
 
 .include "go-modules.mk"
 



Home | Main Index | Thread Index | Old Index