summaryrefslogtreecommitdiff
path: root/doc/guide
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2015-02-24 17:11:28 +0000
committertnn <tnn@pkgsrc.org>2015-02-24 17:11:28 +0000
commit675b3ebc5f0a66ca2da76ddf2993e28947ee2069 (patch)
tree1d26c8090114965ed95446f3b4de5f0ef71fa96a /doc/guide
parentb30ee7f04bab12b113e41816218804b4b05c4e26 (diff)
downloadpkgsrc-675b3ebc5f0a66ca2da76ddf2993e28947ee2069.tar.gz
rewrite stale paragraph about doc/HACKS (which is gone)
Diffstat (limited to 'doc/guide')
-rw-r--r--doc/guide/files/fixes.xml12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/guide/files/fixes.xml b/doc/guide/files/fixes.xml
index 2593ef90453..6ba999bec43 100644
--- a/doc/guide/files/fixes.xml
+++ b/doc/guide/files/fixes.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: fixes.xml,v 1.127 2015/01/01 06:08:00 dholland Exp $ -->
+<!-- $NetBSD: fixes.xml,v 1.128 2015/02/24 17:11:28 tnn Exp $ -->
<chapter id="fixes"> <?dbhtml filename="fixes.html"?>
<title>Making your package work</title>
@@ -1247,9 +1247,13 @@ SunPro C++ __SUNPRO_CC (0x580 for Sun C++ 5.8)
<para>Typically, a workaround involves testing the
<varname>MACHINE_ARCH</varname> and compiler version, disabling
optimisation for that combination of file,
- <varname>MACHINE_ARCH</varname> and compiler, and documenting it
- in <filename>pkgsrc/doc/HACKS</filename>. See that file for a
- number of examples.</para>
+ <varname>MACHINE_ARCH</varname> and compiler.</para>
+
+ <para>This used to be a big problem in the past, but is rarely
+ needed now as compiler technology has matured. If you still need
+ to add a compiler specific workaround, please do so in the file
+ <filename>hacks.mk</filename> and describe the symptom and
+ compiler version as detailed as possible.</para>
</sect2>