ports/cad/magic/files/patch-commands__Makefile
Yuri Victorovich eb95937600 cad/magic: Update 7.5.240 -> 8.3.125
PR:		252954
Approved by:	hrs (maintainer's timeout 20 days)
2021-02-13 23:00:46 +00:00

16 lines
595 B
Text

--- commands/Makefile.orig 2020-04-08 15:45:13 UTC
+++ commands/Makefile
@@ -10,12 +10,7 @@ SRCS = CmdSubrs.c CmdAB.c CmdCD.c CmdE.c CmdFI.c
# Force the module to regenerate the symbolic link in the readline
# directory, as it may be needed by CmdFI.c (in the non-Tcl compile)
-module: ${MAGICDIR}/readline/readline lib${MODULE}.o
-
-${MAGICDIR}/readline/readline:
- @if ( ! test -f ${MAGICDIR}/readline/readline ) ; then \
- (cd ${MAGICDIR}/readline; ln -s `ls | grep readline` readline) ; \
- fi
+module: lib${MODULE}.o
include ${MAGICDIR}/defs.mak
include ${MAGICDIR}/rules.mak