Subject: Re: Evironment variables
To: None <>
From: Juan RP <>
List: tech-pkg
Date: 09/10/2003 10:47:12
El 2003.09.10 10:19, Yosep escribió:
> Hi.
> I am making a package that has a pre-compiled executable in it.  It was
> compiled on Linux, so it uses libraries that my NetBSD machine doenn't
> offer naturally, but perhaps with linux emulator package.  The executable
> needs library from the emulator lib, and I was wondering how I
> could set LD_LIBRARY_PATH to ${PREFIX}/emul/linux/lib from the main
> Makefile.  I tried ${SETENV} LD_LIBRARY_PATH ${PREFIX}/emul/linux/lib, but
> it didnt work.  MAKE_ENV= LD_LIBRARY_PATH.... didnt work either.
> To simplify my babbling, what I want is, after running make configure, get
> "/usr/pkg/emul/linux/lib" upon executing "echo $LIB_LIBRARY_PATH" on my
> current shell.
> Thank you very much for your time.

Do you have included the Makefile.application of suse_linux package (pkgsrc/ 
emulators/suse_linux) ?. Perhaps you will need to add CHECK_SHLIB=no.

Have you looked another examples of linux packages ?  i.e: graphics/ 
divxplayer, games/quake3arena, etc.

Good luck.
Juan RP
<juan AT xtraeme DOT UnixBSD DOT org>