1b41af41b8
pkglint -Wall -F -r cross xtensa-esp32-elf-gcc has been manually edited afterwards because when realigning variable assignments, pkglint only allows one long outlier line. This package has two long SITES.* lines, therefore pkglint wanted to indent the variable values much further to the right. This needs to be fixed in pkglint.
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# $NetBSD: options.mk,v 1.2 2019/06/08 10:53:29 rillig Exp $
|
|
### Set options
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.nios2-gcc
|
|
PKG_SUPPORTED_OPTIONS= doc
|
|
PKG_SUGGESTED_OPTIONS=
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
# conditional SUBST_CLASSES
|
|
.if empty(PKG_OPTIONS:Mdoc)
|
|
post-patch:
|
|
(cd ${WRKSRC}; \
|
|
${MV} gcc/Makefile.in gcc/Makefile.in.orig; \
|
|
${SED} '-e s/@@DOC@@//' \
|
|
'-e s/@@INSTALL_HTML@@//' \
|
|
'-e s/@@INSTALL_PDF@@//' \
|
|
gcc/Makefile.in.orig > gcc/Makefile.in; \
|
|
)
|
|
.else
|
|
# bin/tex is required
|
|
BUILD_DEPENDS+= web2c-[0-9]*:../../print/web2c
|
|
BUILD_DEPENDS+= tex-cm-[0-9]*:../../fonts/tex-cm
|
|
BUILD_DEPENDS+= tex-latex-fonts-[0-9]*:../../fonts/tex-latex-fonts
|
|
BUILD_DEPENDS+= tex-pdftex-doc-[0-9]*:../../print/tex-pdftex-doc
|
|
BUILD_DEPENDS+= tex-pdftex-[0-9]*:../../print/tex-pdftex
|
|
BUILD_DEPENDS+= gtexinfo-[0-9]*:../../devel/gtexinfo
|
|
PLIST.doc= yes
|
|
post-patch:
|
|
(cd ${WRKSRC}; \
|
|
${MV} gcc/Makefile.in gcc/Makefile.in.orig; \
|
|
${SED} '-e s/@@DOC@@/doc/' \
|
|
'-e s/@@INSTALL_HTML@@/install-html/' \
|
|
'-e s/@@INSTALL_PDF@@/install-pdf/' \
|
|
gcc/Makefile.in.orig > gcc/Makefile.in; \
|
|
)
|
|
.endif
|