[Slackbuilds-users] Wrong symlink in wxGTK

Robby Workman rworkman at slackbuilds.org
Thu Mar 1 14:06:22 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eric Hameleers wrote:
> Niki Kovacs wrote:
>> So in my case, I have to add something like this to the build script:
>>
>> # Getting wrong symlink right
>> cd $PKG/usr/bin
>> rm -rf wx-config
>> ln -sf ../lib/wx/config/gtk2-ansi-release-2.6 wx-config
> 
> Right...
> Just like I did in my own script long ago:
> http://www.slackware.com/~alien/slackbuilds/wxWidgets/build/wxWidgets.SlackBuild


Yeah yeah...  Why didn't you say something before I approved it?  ;-)

Anyway...  here's what I'm thinking:

Since the target of the link is different depending on whether unicode
is enabled or not, have a variable determine whether to enable or
disable unicode, and then after the package is installed to $PKG,
create the symlink according to the UNICODE variable.

Anything I'm overlooking?

- --

http://slackbuilds.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.2 (GNU/Linux)

iD8DBQFF5t3d7QPvQNDlLwQRAnjfAJ98FgIXPHxRYR8Gw19E25oopxuQtACeKN1O
MMTOpjD2t/TbVuGcbVG+hhc=
=8kZ+
-----END PGP SIGNATURE-----



More information about the Slackbuilds-users mailing list