From owner-freebsd-ports Wed Jun 23 11:50: 3 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6024014C1A for ; Wed, 23 Jun 1999 11:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA47456; Wed, 23 Jun 1999 11:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from neptune.psn.net (unknown [207.211.58.16]) by hub.freebsd.org (Postfix) with ESMTP id B7A8B14E81 for ; Wed, 23 Jun 1999 11:43:32 -0700 (PDT) (envelope-from will@shadow.blackdawn.com) Received: from 5042-243.008.popsite.net ([209.224.140.243] helo=shadow.blackdawn.com) by neptune.psn.net with esmtp (PSN Internet Service 2.12 #3) for FreeBSD-gnats-submit@freebsd.org id 10wrzU-0003zJ-00; Wed, 23 Jun 1999 11:43:22 -0700 Received: (from will@localhost) by shadow.blackdawn.com (8.9.3/8.9.2) id OAA45569; Wed, 23 Jun 1999 14:42:57 -0400 (EDT) (envelope-from will) Message-Id: <199906231842.OAA45569@shadow.blackdawn.com> Date: Wed, 23 Jun 1999 14:42:57 -0400 (EDT) From: Will Andrews Reply-To: Will Andrews To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/12364: lang/gnat does not fully honor PREFIX? Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12364 >Category: ports >Synopsis: lang/gnat does not fully honor PREFIX? >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 23 11:50:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Will Andrews >Release: FreeBSD 3.2-STABLE i386 >Organization: none >Environment: FreeBSD shadow.blackdawn.com 3.2-STABLE FreeBSD 3.2-STABLE #0: Wed Jun 23 12:45: 46 EDT 1999 root@shadow.blackdawn.com:/usr/src/sys/compile/SHADOW i386 >Description: Some of the lines in lang/gnat's Makefile refers to hardcoded /usr/local, rather than ${PREFIX}.. I'm not sure if this is a requirement in the port, so I'm posting this in hopes that the port maintainer will see this and make a reply as to whether the Makefile needs to be updated. >How-To-Repeat: Irrelevant. >Fix: diff -urN Makefile.old Makefile --- Makefile.old Wed Jun 23 14:32:46 1999 +++ Makefile Wed Jun 23 14:40:42 1999 @@ -23,10 +23,10 @@ MAINTAINER= maurice@serc.rmit.edu.au -.if !exists(/usr/local/bin/gnatf) +.if !exists(${PREFIX}/bin/gnatf) BROKEN= "requires existing gnat compiler" .endif -.if !exists(/usr/local/bin/adagcc) +.if !exists(${PREFIX}/bin/adagcc) BROKEN= "requires patched gcc compiler" .endif # You need a compiler who calls an existing gnat compiler (3.08 or greater): @@ -37,7 +37,7 @@ MAN1= adagcc.1 cccp.1 # Make sure we use the patched gcc compiler -CC = /usr/local/bin/adagcc +CC = ${PREFIX}/bin/adagcc # Which version of gcc do we have? Must be 2.7.2.1 CCVERSION= 2.7.2.1 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message