pkgsrc/lang/gcc44/preconfigure.mk
adam 22e19de0c3 Changes 4.4.3:
The GNU project and the GCC developers are pleased to announce the
release of GCC 4.4.3.

This release is a bug-fix release, containing fixes for regressions in
GCC 4.4.1 relative to previous releases of GCC.
2010-03-15 08:27:06 +00:00

11 lines
515 B
Makefile

# $NetBSD: preconfigure.mk,v 1.2 2010/03/15 08:27:06 adam Exp $
# Create compiler driver scripts in ${WRKDIR}.
(${TEST} -d ${WRKDIR}/.gcc/bin || ${MKDIR} ${WRKDIR}/.gcc/bin)
(cd ${BUILDLINK_PREFIX.gcc44}/bin && bin_files=`${LS} *` && \
cd ${WRKDIR}/.gcc/bin && \
for _target_ in $${bin_files} ; do \
${ECHO} '#!${TOOLS_SHELL}' > $${_target_} && \
${ECHO_N} "exec ${BUILDLINK_PREFIX.gcc44}/bin/$${_target_}" >> $${_target_} && \
${ECHO} ' "$$@"' >> $${_target_} && \
${CHMOD} +x $${_target_}; \
done )