summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/magic/files/magic-7.5.202-install.patch')
-rw-r--r--sci-electronics/magic/files/magic-7.5.202-install.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sci-electronics/magic/files/magic-7.5.202-install.patch b/sci-electronics/magic/files/magic-7.5.202-install.patch
new file mode 100644
index 00000000000..6e28b950c51
--- /dev/null
+++ b/sci-electronics/magic/files/magic-7.5.202-install.patch
@@ -0,0 +1,15 @@
+--- magic-7.5.202/rules.mak
++++ magic-7.5.202/rules.mak
+@@ -43,9 +43,9 @@
+ ${RM} ${MODULE}
+ ${CC} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} lib${MODULE}.o ${EXTRA_LIBS} -o ${MODULE} ${LIBS}
+
+-${BINDIR}/${MODULE}${EXEEXT}: ${MODULE}${EXEEXT}
+- ${RM} ${BINDIR}/${MODULE}${EXEEXT}
+- ${CP} ${MODULE}${EXEEXT} ${BINDIR}
++${DESTDIR}${BINDIR}/${MODULE}${EXEEXT}: ${MODULE}${EXEEXT}
++ ${RM} ${DESTDIR}${BINDIR}/${MODULE}${EXEEXT}
++ ${CP} ${MODULE}${EXEEXT} ${DESTDIR}${BINDIR}
+
+ ../database/database.h: ../database/database.h.in
+ @echo --- making header file database/database.h