[MacPorts] #23710: file port fails to install with_text_magic_file
MacPorts
noreply at macports.org
Sun Feb 14 06:33:01 PST 2010
#23710: file port fails to install with_text_magic_file
-------------------------------+--------------------------------------------
Reporter: robert@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: | Port: file
-------------------------------+--------------------------------------------
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.
}}}
--
Ticket URL: <http://trac.macports.org/ticket/23710>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list