diff options
author | edwin <edwin@FreeBSD.org> | 2003-03-31 07:59:29 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-03-31 07:59:29 +0800 |
commit | fb598ed750bb7604e47bb9f87e8917bc3615324c (patch) | |
tree | 65fc2b732ae1c296aed747aa9d06bfcce6790028 /lang/smarteiffel | |
parent | ab3b2ad9a6e22ddb3bdd13c4c23ae643daf866a8 (diff) | |
download | freebsd-ports-gnome-fb598ed750bb7604e47bb9f87e8917bc3615324c.tar.gz freebsd-ports-gnome-fb598ed750bb7604e47bb9f87e8917bc3615324c.tar.zst freebsd-ports-gnome-fb598ed750bb7604e47bb9f87e8917bc3615324c.zip |
loadpath.UNIX as installed is wrong
Eiffel applications that still rely on loadpath to work correctly,
will not work with the port as installed. This patch fixes that
problem.
PR: ports/47988
Submitted by: User & <berend@nederware.nl>
Diffstat (limited to 'lang/smarteiffel')
-rw-r--r-- | lang/smarteiffel/Makefile | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/lang/smarteiffel/Makefile b/lang/smarteiffel/Makefile index b2d279563157..89f595e54194 100644 --- a/lang/smarteiffel/Makefile +++ b/lang/smarteiffel/Makefile @@ -36,25 +36,37 @@ PKGINSTALL= ${WRKDIR}/INSTALL # to the actual release directory. do-install: @(if ${TEST} -e ${ALIASDIR} ; then \ - if ! ${TEST} -L ${ALIASDIR} ; then \ + if ! ${TEST} -L ${ALIASDIR} ; then \ ${ECHO} "Make sure ${ALIASDIR} is a symbolic link"; \ ${ECHO} "or does not exist. This directory will point to "; \ ${ECHO} "the actual SmartEiffel installation directory."; \ exit 1; \ - fi; \ - ${RM} ${ALIASDIR}; \ + fi; \ + ${RM} ${ALIASDIR}; \ fi; \ ${LN} -fs ${SEDIR} ${ALIASDIR}) @(if ${TEST} -e ${SEDIR} ; then ${RM} -rf ${SEDIR}; fi; \ - ${MKDIR} ${SEDIR}; \ - ${CP} -pR ${WRKSRC}/* ${SEDIR}; \ - ${ECHO_CMD} ./ > ${SEDIR}/sys/loadpath.UNIX; \ - ${ECHO_CMD} ${SEDIR}/lib_std/ >> ${SEDIR}/sys/loadpath.UNIX; \ - ${ECHO_CMD} ${SEDIR}/lib_iterator/ >> ${SEDIR}/sys/loadpath.UNIX; \ - ${ECHO_CMD} ${SEDIR}/lib_random/ >> ${SEDIR}/sys/loadpath.UNIX; \ - ${ECHO_CMD} ${SEDIR}/lib_number/ >> ${SEDIR}/sys/loadpath.UNIX; \ - ${ECHO_CMD} ${SEDIR}/lib_show/ >> ${SEDIR}/sys/loadpath.UNIX; \ - ${ECHO_CMD} ${SEDIR}/lib_se/ >> ${SEDIR}/sys/loadpath.UNIX) + ${MKDIR} ${SEDIR}; \ + ${CP} -pR ${WRKSRC}/* ${SEDIR}; \ + ${ECHO_CMD} ./ > ${SEDIR}/sys/loadpath.UNIX; \ + ${ECHO_CMD} ${SEDIR}/lib/kernel/ >> ${SEDIR}/sys/loadpath.UNIX; \ + ${ECHO_CMD} ${SEDIR}/lib/base/ >> ${SEDIR}/sys/loadpath.UNIX; \ + ${ECHO_CMD} ${SEDIR}/lib/io/ >> ${SEDIR}/sys/loadpath.UNIX; \ + ${ECHO_CMD} ${SEDIR}/lib/iterator/ >> ${SEDIR}/sys/loadpath.UNIX; \ + ${ECHO_CMD} ${SEDIR}/lib/random/ >> ${SEDIR}/sys/loadpath.UNIX; \ + ${ECHO_CMD} ${SEDIR}/lib/number/ >> ${SEDIR}/sys/loadpath.UNIX; \ + ${ECHO_CMD} ${SEDIR}/lib/sorting/ >> ${SEDIR}/sys/loadpath.UNIX; \ + ${ECHO_CMD} ${SEDIR}/lib/time/ >> ${SEDIR}/sys/loadpath.UNIX; \ + ${ECHO_CMD} ${SEDIR}/lib/scoop/ >> ${SEDIR}/sys/loadpath.UNIX; \ + ${ECHO_CMD} ${SEDIR}/lib/misc/ >> ${SEDIR}/sys/loadpath.UNIX; \ + ${ECHO_CMD} ${SEDIR}/tools/ >> ${SEDIR}/sys/loadpath.UNIX; \ + ${ECHO_CMD} ${SEDIR}/tools/expression/ >> ${SEDIR}/sys/loadpath.UNIX; \ + ${ECHO_CMD} ${SEDIR}/tools/instruction/ >> ${SEDIR}/sys/loadpath.UNIX; \ + ${ECHO_CMD} ${SEDIR}/tools/e_type/ >> ${SEDIR}/sys/loadpath.UNIX; \ + ${ECHO_CMD} ${SEDIR}/tools/feature/ >> ${SEDIR}/sys/loadpath.UNIX; \ + ${ECHO_CMD} ${SEDIR}/tools/run_feature/ >> ${SEDIR}/sys/loadpath.UNIX; \ + ${ECHO_CMD} ${SEDIR}/tools/misc/ >> ${SEDIR}/sys/loadpath.UNIX; \ + ${ECHO_CMD} ${SEDIR}/tutorial/ >> ${SEDIR}/sys/loadpath.UNIX) @${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGDIR}/pkg-message \ > ${PKGMESSAGE} @${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGDIR}/pkg-install \ |