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

David Woodfall dave at dawoodfall.net
Tue Aug 21 17:44:25 UTC 2018


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
                                                           (____)//
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'


More information about the SlackBuilds-users mailing list