Opened 14 years ago

Last modified 13 years ago

#23710 closed defect

file port fails to install with_text_magic_file — at Initial Version

Reported by: robert@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: file

Description

The "magic" build tries to create a directory with the same name used for some temp-file earlier.

        done >> magic
mkdir: magic: File exists
make[2]: *** [magic.mgc] Error 1

I added that sipped of a patch to the magic/Makefile.in to make it work again:

 ${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE_DEP)
-       @mkdir magic && cp -p $(EXTRA_DIST) magic
-       $(FILE_COMPILE) -C -m magic
-       @rm -fr magic
+       @mkdir magics && cp -p $(EXTRA_DIST) magics
+       $(FILE_COMPILE) -C -m magics
+       @rm -fr magics
 # Tell versions [3.59,3.63) of GNU make to not export all variables.

Change History (0)

Note: See TracTickets for help on using tickets.