Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 2020 20:45:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 248354] www/gohugo: The EXTENDED flag doesn't seem to work
Message-ID:  <bug-248354-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248354

            Bug ID: 248354
           Summary: www/gohugo: The EXTENDED flag doesn't seem to work
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: vendion@gmail.com
                CC: ben.lavery@hashbang0.com
             Flags: maintainer-feedback?(ben.lavery@hashbang0.com)
                CC: ben.lavery@hashbang0.com

Looking at the Makefile for gohugo there is an option that is enabled be
default called "EXTENDED" that should cause hugo to be built with SASS/SCSS
support, but that does not seem to be the case per this thread
https://discourse.gohugo.io/t/problems-getting-started-with-hugo-pipes-to-p=
rocess-scss/27224/2

If hugo did have the SASS/SCSS support the version output should be similar=
 to
"Hugo Static Site Generator v0.74.3/extended ..." rather than "Hugo Static =
Site
Generator v0.74.3 ...". Doing a test build of gohugo v0.74.3 on my system I
also don't see where the "-tags extended" build flag is passed in:

[code]
(cd /wrkdirs/usr/ports/www/gohugo/work/hugo-0.74.3;  for t in hugo; do=20
out=3D$(/usr/bin/basename $(echo ${t} |  /usr/bin/sed -Ee
's/^[^:]*:([^:]+).*$/\1/' -e 's/^\.$/hugo/'));  pkg=3D$(echo ${t} |  /usr/b=
in/sed
-Ee 's/^([^:]*).*$/\1/' -e 's/^hugo$/./');  echo "=3D=3D=3D>  Building ${ou=
t} from
${pkg}";  /usr/bin/env XDG_DATA_HOME=3D/wrkdirs/usr/ports/www/gohugo/work=20
XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/www/gohugo/work=20
HOME=3D/wrkdirs/usr/ports/www/gohugo/work TMPDIR=3D"/tmp"
PATH=3D/usr/local/libexec/ccache:/wrkdirs/usr/ports/www/gohugo/work/.bin:/s=
bin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
NO_PIE=3Dyes MK_DEBUG_FILES=3Dno MK_KERNEL_SYMBOLS=3Dno SHELL=3D/bin/sh NO_=
LINT=3DYES
PREFIX=3D/usr/local  LOCALBASE=3D/usr/local  CC=3D"cc" CFLAGS=3D"-O2 -pipe=
=20
-fstack-protector-strong -fno-strict-aliasing "  CPP=3D"cpp" CPPFLAGS=3D""=
=20
LDFLAGS=3D" -fstack-protector-strong " LIBS=3D""  CXX=3D"c++" CXXFLAGS=3D"-=
O2 -pipe
-fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX=3D"/usr/local"
CCACHE_DIR=3D"/root/.ccache" BSD_INSTALL_PROGRAM=3D"install  -s -m 555"=20
BSD_INSTALL_LIB=3D"install  -s -m 0644"  BSD_INSTALL_SCRIPT=3D"install  -m =
555"=20
BSD_INSTALL_DATA=3D"install  -m 0644"  BSD_INSTALL_MAN=3D"install  -m 444"
CGO_ENABLED=3D1  CGO_CFLAGS=3D"-I/usr/local/include"=20
CGO_LDFLAGS=3D"-L/usr/local/lib"  GOARM=3D GOPATH=3D""=20
GOBIN=3D"/wrkdirs/usr/ports/www/gohugo/work/bin"  GO_NO_VENDOR_CHECKS=3D1
/usr/local/bin/go build -v -buildmode=3Dexe -ldflags=3D-s -mod=3Dvendor  -o
/wrkdirs/usr/ports/www/gohugo/work/bin/${out}  ${pkg};  done)
[/code]

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248354-7788>