From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 22 22:30:20 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 833CA16A462 for ; Sat, 22 Oct 2005 22:30:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FACA43D46 for ; Sat, 22 Oct 2005 22:30:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9MMUDiJ023290 for ; Sat, 22 Oct 2005 22:30:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9MMUCD0023281; Sat, 22 Oct 2005 22:30:12 GMT (envelope-from gnats) Resent-Date: Sat, 22 Oct 2005 22:30:12 GMT Resent-Message-Id: <200510222230.j9MMUCD0023281@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrey Slusar Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4355316A41F for ; Sat, 22 Oct 2005 22:20:53 +0000 (GMT) (envelope-from anrays@gmail.com) Received: from tor.farlep.net (tor.farlep.net [213.130.1.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 950D543D45 for ; Sat, 22 Oct 2005 22:20:51 +0000 (GMT) (envelope-from anrays@gmail.com) Received: from santinel.home.ua (nas-6-108.dialup.farlep.net [213.130.4.237]) by tor.farlep.net with ESMTP id j9MMKiIh029278 for ; Sun, 23 Oct 2005 01:20:47 +0300 Received: from anray by santinel.home.ua with local (Exim 4.54; FreeBSD) id 1ETRiw-0007Rc-09 for ; Sun, 23 Oct 2005 01:20:22 +0300 Message-Id: Date: Sun, 23 Oct 2005 01:20:22 +0300 From: Andrey Slusar To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/87854: [MAINTAINER] graphics/ida: Fix non standart LOCALBASE X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrey Slusar List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Oct 2005 22:30:21 -0000 >Number: 87854 >Category: ports >Synopsis: [MAINTAINER] graphics/ida: Fix non standart LOCALBASE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Oct 22 22:30:12 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Andrey Slusar >Release: FreeBSD 5.4-STABLE i386 >Organization: Santinel >Environment: System: FreeBSD santinel.home.ua 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Sep 9 01:49:50 EEST 2005 anray@santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386 >Description: Notified by kris@. Fix non standart LOCALBASE. >How-To-Repeat: >Fix: --- ida.diff begins here --- diff -ru /usr/ports/graphics/ida/files/patch-mk::Variables.mk ida/files/patch-mk::Variables.mk --- /usr/ports/graphics/ida/files/patch-mk::Variables.mk Fri Aug 20 19:56:29 2004 +++ ida/files/patch-mk::Variables.mk Sat Oct 22 22:55:06 2005 @@ -1,5 +1,5 @@ --- mk/Variables.mk.orig Sun Feb 22 14:27:19 2004 -+++ mk/Variables.mk Fri Aug 20 19:15:12 2004 ++++ mk/Variables.mk Sat Oct 22 22:54:34 2005 @@ -4,10 +4,10 @@ # directories DESTDIR = @@ -15,3 +15,16 @@ # package + version empty := +@@ -34,9 +34,9 @@ + -Wpointer-arith -Wunused + + # add /usr/local to the search path if something is in there ... +-ifneq ($(wildcard /usr/local/include/*.h),) +- CFLAGS += -I/usr/local/include +- LDFLAGS += -L/usr/local/$(LIB) ++ifneq ($(wildcard $(LOCALBASE)/include/*.h),) ++ CFLAGS += -I$(LOCALBASE)/include ++ LDFLAGS += -L$(LOCALBASE)/$(LIB) + endif + + # fixup include path for $(srcdir) != "." --- ida.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: