Subject: mk/wrapper/logic problem
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <geos@epost.de>
List: tech-pkg
Date: 10/23/2004 16:13:52
I've come across the following problem with mk/wrapper/logic:
For some time now, I'm using my own transformation support for the IDO
(IRIX development option) cc.
One additional problem now is that the IDO cc and ld use a ':', not a
',', to separate the components of a library path, i.e. it is
-Wl,-rpath,path1:path2
instead of
-Wl,-rpath,path1,path2

with the help of the transform logic I thought I could rewrite this. Now
I discovered however, that mk/wrapper/logic eliminates the :'s already,
corrupting the path:

    (logic) pre:
-Wl,-rpath,/usr/people/schwarz/pkgsrc/devel/glib2/work/glib-2.4.7/glib/.
libs:/usr/people/schwarz/pkgsrc/devel/glib2/work/.buildlink/lib:/usr/loc
al/pkg/lib
    (logic) pop:
-Wl,-rpath,/usr/people/schwarz/pkgsrc/devel/glib2/work/glib-2.4.7/glib/.
libs:/usr/people/schwarz/pkgsrc/devel/glib2/work/.buildlink/lib:/usr/loc
al/pkg/lib
    (logic) to:
-Wl,-rpath,/usr/people/schwarz/pkgsrc/devel/glib2/work/glib-2.4.7/glib/.
libs/usr/people/schwarz/pkgsrc/devel/glib2/work/.buildlink/lib/usr/local
/pkg/lib

I am not exactly sure where exactly the :'s get eliminated. Any
suggestion?

  

-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 geos@epost.de     +49 177 8811442