You are not logged in.
Hey There,
I'm trying to create a package for util-vserver.. I'm compiling it with dietlibc support but it's installed in /opt/diet.. Since util-vserver's configure searches diet in /usr/lib/dietlibc/ I should create that as a soft link in order to get util-vserver compiled..
Is it possible to warn (and abort installation) the user about creating a symlink if the link doesn't exist ?
Quis custodiet ipsos custodiet?
Offline
I bet there's a switch (to configure) where you can specify where the diet libraries and compiler are. Creating symlinks in the real filesystem in a PKGBUILD is a *bad* idea.
EDIT: if you 'return 1' in a PKGBUILD, makepkg fails.
EDIT2: Another solution is to run a little sed script on Makefile to change the directories before running make.
Last edited by bender02 (2008-06-08 17:33:11)
Offline
expanding path for diet binary file did the trick... but i'll keep your suggestions in mind.. thanks..!
Quis custodiet ipsos custodiet?
Offline