pkgsrc-WIP-discuss archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Avoiding getting .buildlink path in installed [python|ruby]scripts?
Hi,
I've created and submitted some packages where I have a slight problem
with the script interpret string which gets installed in script files.
The problem is that those scripts get my work-directories .buildlink
path to the script interpreter :(
Two package examples:
wip/py-4Suite, which installs /usr/pkg/bin/4xml among many other files.
If I look at that python script more closely:
-bash-4.0$ head -1 /usr/pkg/bin/4xml
#!/usr/pkgsrc/wip/py-4Suite/work/.tools/bin/env python
wip/opendnssec, which installs /usr/pkg/bin/ods-kaspcheck among many
other files.
-bash-4.0$ head -1 /usr/pkg/bin/ods-kaspcheck
#!/usr/pkgsrc/wip/opendnssec/work/.buildlink/bin/ruby
-I/usr/pkg/lib/opendnssec
How do I solve this the "correct" way?
Btw. wouldn't it be nice if PKG_DEVELOPER=yes would catch this? (It
already catches missing interpreters in installed script files)
Regards,
/P
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss
Home |
Main Index |
Thread Index |
Old Index