From owner-freebsd-ports@FreeBSD.ORG Sun Aug 29 12:17:25 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 497DF106578D for ; Sun, 29 Aug 2010 12:17:24 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4FAAB8FC16 for ; Sun, 29 Aug 2010 12:17:23 +0000 (UTC) Received: by iwn36 with SMTP id 36so4629236iwn.13 for ; Sun, 29 Aug 2010 05:17:23 -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:x-enigmail-version :content-type:content-transfer-encoding; bh=Tfzs5BptVp+m2kqtYeyXwJU8TNBFstLeG9Qm+fd4o1o=; b=L2vZkPLGV+dbQxSjNjqUvdLwHJc0xKV3xt5WM53mlALdGpW8w6zlxKloQ9XV8oGSor IOUgn8sPSfX2TpQe7pYi8LTs5rwsZZbuNy0xP7UPRIyNuhwWwxQpywnHMv0vFVVIPg6S 17cabkdaeoIAW1rujm8hf/dFo72JORQrzkufw= 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 :x-enigmail-version:content-type:content-transfer-encoding; b=aoWo3Ar41pKWaM5l5BCFY7nJIKivI9jOQonLlGlnUwToU+FyVugJ9zF8ScgD/52L8R wh+6OamGPVivojoP7oRPrMOaFxFVgewInvNJO3K75P0KaWJv4MrlwFMFjpXXRELVFo+i t01DRQbQ4zE6QArfRYZKFFXF/h6A4G06PHTWM= Received: by 10.231.145.16 with SMTP id b16mr3703248ibv.198.1283084243405; Sun, 29 Aug 2010 05:17:23 -0700 (PDT) Received: from centel.dataix.local (adsl-99-181-137-20.dsl.klmzmi.sbcglobal.net [99.181.137.20]) by mx.google.com with ESMTPS id z6sm4349656ibc.12.2010.08.29.05.17.21 (version=SSLv3 cipher=RC4-MD5); Sun, 29 Aug 2010 05:17:22 -0700 (PDT) Sender: "J. Hellenthal" Message-ID: <4C7A4FD0.1050304@DataIX.net> Date: Sun, 29 Aug 2010 08:17:20 -0400 From: jhell User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.8) Gecko/20100806 Lightning/1.0b1 Thunderbird MIME-Version: 1.0 To: gordon@freebsd.org X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Ports Subject: devel/p4d patch 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: Sun, 29 Aug 2010 12:17:25 -0000 Hi Gordon, I just upgraded devel/p4d port and you might find this patch interesting. This port would previously bail out trying to display the pkg-message file that it can't find without a path. On a second note. Where it displays this message ``post-install'' does not seem like the right place to display this message as it is not really noticeable during that stage. But to solve this file not being found I patched it up with the following. --- Makefile.orig 2010-08-29 08:08:25.801295898 -0400 +++ Makefile 2010-08-29 08:10:49.149776482 -0400 @@ -49,7 +49,7 @@ ${INSTALL_PROGRAM} ${_DISTDIR}/p4d ${PREFIX}/sbin/ post-install: - @${CAT} pkg-message + @${CAT} ${PORTSDIR}/devel/${PORTNAME}/pkg-message ${MKDIR} ${DESTDIR}${P4ROOT} ${CHOWN} p4admin:p4admin ${DESTDIR}${P4ROOT} ${CHMOD} 750 ${DESTDIR}${P4ROOT} Regards, -- jhell,v