pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc Fix an error in the example of BUILDLINK_TRANSFORM



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dfc433982cf6
branches:  trunk
changeset: 308927:dfc433982cf6
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Jun 04 23:54:59 2018 +0000

description:
Fix an error in the example of BUILDLINK_TRANSFORM

diffstat:

 doc/guide/files/creating.xml |  4 ++--
 doc/pkgsrc.txt               |  2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 770a0868507d -r dfc433982cf6 doc/guide/files/creating.xml
--- a/doc/guide/files/creating.xml      Mon Jun 04 20:27:09 2018 +0000
+++ b/doc/guide/files/creating.xml      Mon Jun 04 23:54:59 2018 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: creating.xml,v 1.26 2017/11/26 09:43:02 wiz Exp $ -->
+<!-- $NetBSD: creating.xml,v 1.27 2018/06/04 23:55:00 minskim Exp $ -->
 
 <chapter id="creating">
 <title>Creating a new pkgsrc package from scratch</title>
@@ -411,7 +411,7 @@
 
 <programlisting>
 CPPFLAGS+=              -I${BUILDLINK_PREFIX.libIDL}/include/libIDL-2.0
-BUILDLINK_TRANSFORM+=   -l:IDL:IDL-2
+BUILDLINK_TRANSFORM+=   l:IDL:IDL-2
 </programlisting>
 
 <para>The latter line is needed because the package expects the library
diff -r 770a0868507d -r dfc433982cf6 doc/pkgsrc.txt
--- a/doc/pkgsrc.txt    Mon Jun 04 20:27:09 2018 +0000
+++ b/doc/pkgsrc.txt    Mon Jun 04 23:54:59 2018 +0000
@@ -2891,7 +2891,7 @@
 Makefile and tried again:
 
 CPPFLAGS+=              -I${BUILDLINK_PREFIX.libIDL}/include/libIDL-2.0
-BUILDLINK_TRANSFORM+=   -l:IDL:IDL-2
+BUILDLINK_TRANSFORM+=   l:IDL:IDL-2
 
 The latter line is needed because the package expects the library libIDL.so,
 but only libIDL-2.so is available. So I told the compiler wrapper to rewrite



Home | Main Index | Thread Index | Old Index