why is 'make' installing?
Waitman Gobble
uzimac at da3m0n8t3r.com
Mon Nov 3 00:34:49 UTC 2014
Issue, help appreciated. Missed day two of MeetBSD sorry alot going on
today. Day one was great.
I'm updating a port and noticed that 'make' is actually calling install in
my program Makefile. seems strange. It's not registering the port as
installed but the compiled binary is going into /usr/local/bin
ie:
> ls /usr/local/bin/dcraw-m
ls: /usr/local/bin/dcraw-m: No such file or directory
> make
===> License GPLv2 accepted by the user
===> Found saved configuration for dcraw-m-9.22
===> dcraw-m-9.22 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by dcraw-m-9.22 for building
===> Extracting for dcraw-m-9.22
=> SHA256 Checksum OK for dcraw-m-9.22.tar.gz.
===> Patching for dcraw-m-9.22
===> dcraw-m-9.22 depends on shared library: libjasper.so - found
(/usr/local/lib/libjasper.so.4.0.0)
===> dcraw-m-9.22 depends on shared library: libjpeg.so - found
(/usr/local/lib/libjpeg.so.11)
===> dcraw-m-9.22 depends on shared library: liblcms2.so - found
(/usr/local/lib/liblcms2.so.2.0.6)
===> dcraw-m-9.22 depends on shared library: libMagickWand-6.Q16.so -
found (/usr/local/lib/libMagickWand-6.Q16.so.2.0.0)
===> Configuring for dcraw-m-9.22
===> Building for dcraw-m-9.22
===> Staging for dcraw-m-9.22
===> Generating temporary packing list
install -m 0755 -g wheel -o root dcraw-m /usr/local/bin
====> Compressing man pages (compress-man)
====> Running Q/A tests (stage-qa)
> ls /usr/local/bin/dcraw-m
/usr/local/bin/dcraw-m
AFAIK a port 'make' should not actually call install in the Makefile. ?
> rm /usr/local/bin/dcraw-m
> cd work/waitman-dcraw-m-1b90326/
> make clean
> make
cc -O2 -pipe -Wall -Werror -I/usr/local/include `MagickWand-config
--cflags --cppflags` -DMAGICKCORE_HDRI_ENABLE=0
-DMAGICKCORE_QUANTUM_DEPTH=16 -DNO_JASPER -L/usr/local/lib
`MagickWand-config --ldflags --libs` -lm -llcms2 -ljpeg -o dcraw-m
dcraw-m.c
> ls /usr/local/bin/dcraw-m
ls: /usr/local/bin/dcraw-m: No such file or directory
> make install
install -m 0755 -g wheel -o root dcraw-m /usr/local/bin
> ls /usr/local/bin/dcraw-m
/usr/local/bin/dcraw-m
hmmm why is 'make' on the port Makefile calling install?
> uname -a
FreeBSD dx.waitman.net 11.0-CURRENT FreeBSD 11.0-CURRENT #2: Mon Oct 27
18:47:44 PDT 2014 root at dx.waitman.net:/usr/obj/usr/src/sys/AMINEH
amd64
Thank you,
--
Waitman Gobble
Los Altos California USA
+1.510-830-7975
More information about the freebsd-ports
mailing list