Opened 14 years ago

Closed 13 years ago

#23710 closed defect (fixed)

file port fails to install with_text_magic_file

Reported by: robert@… Owned by: jay-macports@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: m.schwarz@…, lhunath@…
Port: file

Description (last modified by mf2k (Frank Schima))

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 (5)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to jay-macports@…

comment:2 Changed 14 years ago by robert@…

oops, should had added that before. ticket is according to "file @5.04_0+with_text_magic_file"

comment:3 Changed 14 years ago by m.schwarz@…

Cc: m.schwarz@… added

Cc Me!

comment:4 Changed 14 years ago by lhunath@…

Cc: lhunath@… added

Cc Me!

comment:5 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.