a56bf6f82c
a) The BUILD_ADA must be YES (strictly capitalized) for the pre-configure target to work, which is inconsistent. b) For me (using ALT_GCC), the directory .work/.gcc was not present at pre-configure time, which made some "cd" fail. 2) Makefile cleanup as recommended by Lubomir. 3) pkglint cleanup 4) Increment PKGREVISION
10 lines
449 B
Makefile
10 lines
449 B
Makefile
# Create compiler driver scripts in ${WRKDIR}.
|
|
(test -d ${WRKDIR}/.gcc/bin || ${MKDIR} ${WRKDIR}/.gcc/bin)
|
|
(cd ${BUILDLINK_PREFIX.gcc34}/bin && bin_files=`${LS} *` && \
|
|
cd ${WRKDIR}/.gcc/bin && \
|
|
for _target_ in $${bin_files} ; do \
|
|
${ECHO} '#!${TOOLS_SHELL}' > $${_target_} && \
|
|
${ECHO} -n "exec ${BUILDLINK_PREFIX.gcc34}/bin/$${_target_}" >> $${_target_} && \
|
|
${ECHO} ' "$$@"' >> $${_target_} && \
|
|
${CHMOD} +x $${_target_}; \
|
|
done )
|