diff options
author | mef <mef> | 2013-11-16 07:41:00 +0000 |
---|---|---|
committer | mef <mef> | 2013-11-16 07:41:00 +0000 |
commit | 71a7edd98d0133b798356714d344585c8f5f1a46 (patch) | |
tree | 8e3261a0d1e60d733e5f64a79d08af68e97356ec /cross/nios2-gcc41/options.mk | |
parent | 8455fb524f88de3b6a9e98afd6f67a8cea09ab0c (diff) | |
download | pkgsrc-71a7edd98d0133b798356714d344585c8f5f1a46.tar.gz |
As proposed at pkgsrc-users@,
(1) nios2-gcc 3.4.6 renamed to nios2-gcc3
(2) nios2-binutils 2.20 renamed to nios2-bintuils220
(3) nios2-gcc41 4.1.2 is imported from wip
nios2/Makefile.common, used be for (1) and (2) are
now for (2) and (3).
Diffstat (limited to 'cross/nios2-gcc41/options.mk')
-rw-r--r-- | cross/nios2-gcc41/options.mk | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/cross/nios2-gcc41/options.mk b/cross/nios2-gcc41/options.mk new file mode 100644 index 00000000000..5197560806d --- /dev/null +++ b/cross/nios2-gcc41/options.mk @@ -0,0 +1,36 @@ +# $NetBSD: options.mk,v 1.1 2013/11/16 07:41:00 mef 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 |