From owner-freebsd-ports@FreeBSD.ORG Fri Sep 17 23:18:14 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13D3E1065670; Fri, 17 Sep 2010 23:18:14 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8DB208FC18; Fri, 17 Sep 2010 23:18:13 +0000 (UTC) Received: by yxn35 with SMTP id 35so1106284yxn.13 for ; Fri, 17 Sep 2010 16:18:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type; bh=k053FUrHmxqy/F8p+4d7P67afB0vWsBacRbrw8WidMg=; b=lO0EVZDJcuJBE9QI77KNOKs6vC2/UB2KjzVAGVZrMvFi5zGjnORYtpgfBT2yNulpAI pHU07GgImAuaEBJzod3sfBG+rxM5Ba+6Ym4TZkbYB8j75RaWXi5ae2spP60K/rYuEUE2 7IxPzFbAsrbusBBCqhOUG2TO4BodX0DOb8r1o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; b=P0RSLwWHv/W8hdgAFKkvUgp4FxYBCLmqEHZQg9wohwitykmODIocZa2rHp3S5gLP5y Xs8QO+b+K+ICPL+SfY/iW15Hk1J4DrAsTUAQ6mUrYH/MjMJqR3WB12iQl04kqxsfBLCF IgS6ffyuR9+zDHqyr+Fg8YfeahTutOjBrePNc= Received: by 10.100.48.6 with SMTP id v6mr816956anv.12.1284765492679; Fri, 17 Sep 2010 16:18:12 -0700 (PDT) Received: from centel.dataix.local (adsl-99-181-146-122.dsl.klmzmi.sbcglobal.net [99.181.146.122]) by mx.google.com with ESMTPS id q7sm6901161anf.6.2010.09.17.16.18.10 (version=SSLv3 cipher=RC4-MD5); Fri, 17 Sep 2010 16:18:11 -0700 (PDT) Sender: "J. Hellenthal" Message-ID: <4C93F731.6030703@DataIX.net> Date: Fri, 17 Sep 2010 19:18:09 -0400 From: jhell User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.9) Gecko/20100917 Lightning/1.0b1 Thunderbird MIME-Version: 1.0 To: Wesley Shields References: <4C93AA31.5080202@DataIX.net> <20100917211919.GA67059@atarininja.org> In-Reply-To: <20100917211919.GA67059@atarininja.org> X-Enigmail-Version: 1.1.2 Content-Type: multipart/mixed; boundary="------------030506090807040709090700" Cc: FreeBSD Ports , Doug Barton Subject: Re: editors/vim installs to / X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2010 23:18:14 -0000 This is a multi-part message in MIME format. --------------030506090807040709090700 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/17/2010 17:19, Wesley Shields wrote: > On Fri, Sep 17, 2010 at 01:49:37PM -0400, jhell wrote: >> >> After a force upgrade of vim that had failed unfortunately not >> registering the files it installed already I found out that it is >> installing to / ~!!!!! ugh. >> >> Why is ${PREFIX} being used and not ${LOCALBASE} ??? > > I reverted to the previous Makefile just to get something working before > I leave. I did want to point out that the cleanup (at least for me) was > not that hard. /man and /share were left behind along with a handful of > files in /bin that shouldn't have been there. Once I had reverted and > installed vim I was able to use something like > > pkg_info -L -x vim | fgrep /usr/local/bin | sed -e 's|/usr/local||' > > To find the files which were in /bin that should not have been there. > Not all of them were there in my case but the cleanup was easy. Just > delete /man and /share and the handful of files in /bin. > > I still don't know what the real fix for this is but hopefully someone > is working on it. ;) > > -- WXS Attached is the exact patch that fixes this. The two effected areas are post & pre-configure. My best guess on this lays on the REINPLACE_CMD in pre-configure but I could be wrong. - -- jhell,v -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJMk/cwAAoJEJBXh4mJ2FR+xukH/2JgWGagRpnvUUjbJfCXetDe /ahIbbohU+pDmeJ3F6UwcoxPgSd2mW0vRiC+3fFLKi/otAgYqfS+L5X5hMmIoBd1 fgqTeXqy2hF+1IcPdBAIrigxGqv6CA4BmUHYhdMLHV+TVFfboeU70fuBeEYnfsR6 VNYWe8B/0Qb9VNkV+FDFSlvp0Qu4ONkwxPevp/hgTu2914Kd+kmjnLRBTBLekQJ+ KLwXoc1jqoLBwvhT+DRRDFSskNiXjJuAGyt0k10sQpYZCaPwXSXT4mYhjhqDyCnk uSjxiQe3MK7W1G1QK9RjLOjyMiXbJ8Rv7j6h/pgAoxsegN8xOFryfonRQKp3G44= =4CXp -----END PGP SIGNATURE----- --------------030506090807040709090700 Content-Type: text/x-patch; name="Makefile.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Makefile.diff" --- Makefile.1.357 2010-09-17 18:49:24.188934083 -0400 +++ Makefile 2010-09-17 19:13:22.041265307 -0400 @@ -195,9 +195,6 @@ ${REINPLACE_CMD} -e 's,ctags -R \.,${CTAGS_CMD},g') pre-configure: - # Fix dependency misspelling so that 'make -j#' will work. - @${REINPLACE_CMD} -e 's|\./auto/osdef\.h|auto/osdef.h|g' \ - ${WRKSRC}/Makefile @(cd ${WRKSRC} ; ${MAKE} distclean) @${REINPLACE_CMD} -e ' \ s|\$$gtk_config_prefix/bin/gtk-config|\$${GTK_CONFIG}|g; \ @@ -210,9 +207,6 @@ ${WRKSRC}/feature.h .endif -post-configure: - @(cd ${WRKSRC} ; ${MAKE} scratch config) - # Clean up junk files to keep them from being installed. pre-install: @${FIND} ${WRKSRC:H} -type f -name '*.orig' -delete --------------030506090807040709090700 Content-Type: application/octet-stream; name="Makefile.diff.sig" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="Makefile.diff.sig" iQEcBAABAgAGBQJMk/cxAAoJEJBXh4mJ2FR+mTwH/3oaIgz7HH899YQ2V2PaSVyhC5YnxE7y 2MNguM45Qq7EXvTWuAD00Kxvaaufyiq+vv3dFVeGgNSPu5fiNhwZPC5nON64vgISi8Apsggd uyljkMqJk8MA5aDHucemOavKwkkGDtX179W2wN9lvCI0oFGy2Y2roNUBNvvEsaNFelw50f1S 5N3VlpgDMTIhoJAq0J/vxpiTSrWxXtRc75GffCpcIOmgiYoitwuUfRJ5avEUDYteGg6Z5etf 4zoWvWKcXLRbRQra+G2PIJxxDxwtuWTTzeWRn0JQ7ncn+14+DXzjIJU618tzManu3Doqd8wT HbkzLGws2aE16HUas8xXRnA= --------------030506090807040709090700--