Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Nov 2014 17:23:18 -0800
From:      "Chris H" <bsd-lists@bsdforge.com>
To:        freebsd-ports@freebsd.org, "Waitman Gobble" <uzimac@da3m0n8t3r.com>
Subject:   Re: why is 'make' installing?
Message-ID:  <e33e58e248025fda58a071c86d2a6ad2@ultimatedns.net>
In-Reply-To: <81c408df36e645fdf2207a5d5208d3fc.squirrel@mx.waitman.net>
References:  <81c408df36e645fdf2207a5d5208d3fc.squirrel@mx.waitman.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2 Nov 2014 08:35:33 -0800 "Waitman Gobble" <uzimac@da3m0n8t3r.com>
wrote

> 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?

Because you asserted "make install"?
> > make install
> install -m 0755 -g wheel -o root dcraw-m /usr/local/bin

That's all I can gather from the limited output you provided. :)

--Chris

> 
> > uname -a
> FreeBSD dx.waitman.net 11.0-CURRENT FreeBSD 11.0-CURRENT #2: Mon Oct 27
> 18:47:44 PDT 2014     root@dx.waitman.net:/usr/obj/usr/src/sys/AMINEH 
> amd64
> 
> 
> Thank you,
> 
> -- 
> Waitman Gobble
> Los Altos California USA
> +1.510-830-7975
> 
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e33e58e248025fda58a071c86d2a6ad2>