[Slackbuilds-users] how can i define data_dir in makefile?

Fernando Lopez fernando.lopezjr at gmail.com
Tue Aug 21 18:18:28 UTC 2018


help

https://www.dropbox.com/s/lxx4qg3fb1vnsz1/ICSim.tar.bz2?dl=0

On Tue, Aug 21, 2018 at 11:44 AM David Woodfall <dave at dawoodfall.net> wrote:

> On Tuesday 21 August 2018 18:37,
> Dave Woodfall <dave at dawoodfall.net> put forth the proposition:
> > On Tuesday 21 August 2018 11:33,
> > Fernando Lopez <fernando.lopezjr at gmail.com> put forth the proposition:
> > > didnt work. =\
> >
> > You could try:
> >
> > export DATA_DIR=bla
> >
> > But it does say to put it in the make file, so maybe you'll have to
> > sed it in or make a patch.
>
> By the way, CFLAGS="$SLKCFLAGS" \ ought to be before the make command
> anyway.
>
> -Dave
>
> > -Dave
> >
> > Well it does say to put it in the makefile
> > > On Tue, Aug 21, 2018 at 11:31 AM David Woodfall <dave at dawoodfall.net>
> wrote:
> > >
> > > > On Tuesday 21 August 2018 11:29,
> > > > Fernando Lopez <fernando.lopezjr at gmail.com> put forth the
> proposition:
> > > > > this is the error i get when i run my program...
> > > > > *"ERROR: DATA_DIR not found.  Define in make file or run in src
> dir"*
> > > > >
> > > > > this is how i am doing it:
> > > > >
> > > > > make \
> > > > >   CFLAGS="$SLKCFLAGS" \
> > > > >   DATA_DIR=$PKG/usr/share/icsim
> > > >
> > > > Try putting in front of make or exporting it:
> > > >
> > > > DATA_DIR=bla \
> > > > CFLAGS="$SLKCFLAGS" \
> > > > make
>
> --
>
> One of the things that hamper Linux's climb to world domination is the
> shortage of bad Computer Role Playing Games, or CRaPGs. No operating system
> can be considered respectable without one.
>   -- Brian O'Donnell, odonnllb at tcd.ie
>
>                                                             .--.  oo
>                                                            (____)//
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>

-- 

------------
Regards,
    Fernando Lopez Jr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180821/9a765833/attachment.html>


More information about the SlackBuilds-users mailing list