From owner-freebsd-ports@FreeBSD.ORG Mon Nov 3 01:21:50 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 83EC6907 for ; Mon, 3 Nov 2014 01:21:50 +0000 (UTC) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5507FE86 for ; Mon, 3 Nov 2014 01:21:50 +0000 (UTC) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id sA31NHGl023958; Sun, 2 Nov 2014 17:23:18 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) To: freebsd-ports@freebsd.org, "Waitman Gobble" In-Reply-To: <81c408df36e645fdf2207a5d5208d3fc.squirrel@mx.waitman.net> References: <81c408df36e645fdf2207a5d5208d3fc.squirrel@mx.waitman.net> From: "Chris H" Subject: Re: why is 'make' installing? Date: Sun, 02 Nov 2014 17:23:18 -0800 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2014 01:21:50 -0000 On Sun, 2 Nov 2014 08:35:33 -0800 "Waitman Gobble" 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"