pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/hugo



Module Name:    pkgsrc
Committed By:   nikita
Date:           Sat Mar  5 18:13:36 UTC 2022

Modified Files:
        pkgsrc/www/hugo: Makefile

Log Message:
hugo: build the extended version.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/www/hugo/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/hugo/Makefile
diff -u pkgsrc/www/hugo/Makefile:1.54 pkgsrc/www/hugo/Makefile:1.55
--- pkgsrc/www/hugo/Makefile:1.54       Sat Mar  5 14:16:43 2022
+++ pkgsrc/www/hugo/Makefile    Sat Mar  5 18:13:36 2022
@@ -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 @@ HOMEPAGE=    https://gohugo.io/
 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