[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gEDA-user: seems GEDARCDIR not picked up from Makefile



I am finally doing the FreeBSD port update (to 20010722) and noticed that
when a prefix is specified at configure time (configure
--prefix=/home/bruno/...), for installing in a different directory, the
variable GEDARCDIR is not passed on to the c source files...

For example, although the Makefile contains the line
GEDARCDIR = /home/bruno/devel/geda/share/gEDA

this is not taken in any of the c files thorugh a -D option, or included
in a .h file...

same thing for GEDADATADIR

I think the simplest fix is to add -DGEDADATADIR -DGEDARCDIR to the
CPPFLAGS (or X_CFLAGS, whichever appropriate)

bruno