summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-03-30 23:59:29 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-03-30 23:59:29 +0000
commitd97483e3cfe1d42658286dc89a92cfdd35897482 (patch)
treeb6d3f8728f19fd76a3deabfbdbd7bb1deede562b /lang
parentUpdate to 1.1.13c (diff)
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>
Notes
Notes: svn path=/head/; revision=77778
Diffstat (limited to 'lang')
-rw-r--r--lang/smarteiffel/Makefile36
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 \