tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Supplying CONFIGURE_ARGS that have package-specific variables
Hi - I'm trying again on AIX to get a build of perl (this time 5.40.0nb1).
Looking at an RPM Spec that produced a working version of 5.38.x with
GCC, I see these options:
export LDDLFLAGS3264="-G -bI:\$(PERL_INC)/perl.exp -bE:\$(BASEEXT).exp
-bnoentry -lc -lm"
Now those LDDLFLAGS3264 get stuffed into LDDLFLAGS and then used in the
configure statement:
... -Dlddlflags="$LDDLFLAGS" \
That's all understandable, but if I set this up in mk.conf like this:
CONFIGURE_ARGS+= "-Dlddlflags=-G -bI:$(PERL_INC)/perl.exp
-bE:$(BASEEXT).exp -bnoentry -lc -lm"
then bmake appears to expand the PERL_INC and BASEEXT macros and their
values are blank. Escaping the `$' with varying numbers of backslashes
either breaks the `configure' or results in blank values for those
variables.
What's the proper way to get these variable references into the
CONFIGURE_ARGS without bmake expanding them?
--
Louis
Home |
Main Index |
Thread Index |
Old Index