[Bug 248354] www/gohugo: The EXTENDED flag doesn't seem to work
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jul 29 20:45:31 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248354
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 at FreeBSD.org
Reporter: vendion at gmail.com
CC: ben.lavery at hashbang0.com
Flags: maintainer-feedback?(ben.lavery at hashbang0.com)
CC: ben.lavery at 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-process-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
out=$(/usr/bin/basename $(echo ${t} | /usr/bin/sed -Ee
's/^[^:]*:([^:]+).*$/\1/' -e 's/^\.$/hugo/')); pkg=$(echo ${t} | /usr/bin/sed
-Ee 's/^([^:]*).*$/\1/' -e 's/^hugo$/./'); echo "===> Building ${out} from
${pkg}"; /usr/bin/env XDG_DATA_HOME=/wrkdirs/usr/ports/www/gohugo/work
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/gohugo/work
HOME=/wrkdirs/usr/ports/www/gohugo/work TMPDIR="/tmp"
PATH=/usr/local/libexec/ccache:/wrkdirs/usr/ports/www/gohugo/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES
PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe
-fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS=""
LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe
-fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local"
CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555"
BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555"
BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444"
CGO_ENABLED=1 CGO_CFLAGS="-I/usr/local/include"
CGO_LDFLAGS="-L/usr/local/lib" GOARM= GOPATH=""
GOBIN="/wrkdirs/usr/ports/www/gohugo/work/bin" GO_NO_VENDOR_CHECKS=1
/usr/local/bin/go build -v -buildmode=exe -ldflags=-s -mod=vendor -o
/wrkdirs/usr/ports/www/gohugo/work/bin/${out} ${pkg}; done)
[/code]
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list