From owner-freebsd-questions@FreeBSD.ORG Tue Jan 22 05:45:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0ECD316A419 for ; Tue, 22 Jan 2008 05:45:23 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 64F2713C45B for ; Tue, 22 Jan 2008 05:45:22 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2276061fgg.35 for ; Mon, 21 Jan 2008 21:45:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=ebiN1t5GdPbJT0OqHNQZHVPh1pTJs6SQLF4xBtxksTs=; b=RklGEN9d+iePmtGmW0muupv9NCr2e4HjlgNz73N2KIeYZXasnFVBFsZsuKlEzu6GT/7pYBVratAhoAIpJ/GB71TDmqtjSXxRD1s/TnQ1wUdwglWiaD4i8yE0/dLDgsXPQr2kHr2Ti0cwrMFxSX/K/rh/jGJfpIIxkV+HdJwGkfM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=F5z0wYgcUpxEPrRyiMcHtr2XsluhzFzUo0i7kt00iOOcfE9SbKbnpmko09xF/m2nlUZe3SQVoLUnb5+RMdhTEXlwUcfxHsM2aJCa9Y7AG4HgKWXniRlSKnYpbF6JFUzNq6wglPDQNomNIMAOF1jEtG+YyNBey1WHC4Q0mlBymMk= Received: by 10.82.107.15 with SMTP id f15mr14019872buc.0.1200980720980; Mon, 21 Jan 2008 21:45:20 -0800 (PST) Received: by 10.82.160.20 with HTTP; Mon, 21 Jan 2008 21:45:20 -0800 (PST) Message-ID: <560f92640801212145v58769b9bv1d08e23a9469fcc8@mail.gmail.com> Date: Mon, 21 Jan 2008 21:45:20 -0800 From: "Nerius Landys" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How do port Makefiles work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 05:45:23 -0000 I'm trying to figure out how a port makefile configures, makes, makes install from a source tarball. The port I'm interested in in particular is /usr/ports/x11/Terminal; I have it built and installed just fine using the ports system. Now I'm trying to tweak the source code, build, and install locally in a home directory, all without using the ports system. So, I've taken the archive Terminal-0.2.6.tar.bz2, unpacked it, and ran './configure --prefix='. Then I run 'make', and I get this error: sylvester# make make all-recursive Making all in doc Making all in C Making all in images Making all in ja Making all in images Making all in helpers make: don't know how to make balsa.desktop. Stop *** Error code 1 Stop in /usr/home/nlandys/Terminal-0.2.6. *** Error code 1 Stop in /usr/home/nlandys/Terminal-0.2.6. But like I said earlier, the ports system was able to build and install successfully. So the ports build system is probably passing some arguments to 'configure', and maybe some arguments to 'make', and maybe doing some other things and calling other targets. How can I figure out how the ports system is building this package so that I can mimic it to successfully configure and make this package manually? Or, if that is not an elegant thing to do, how can I correct this make problem? In the end, I just want to build this package manually. Thanks - A newb in need of help.