ports/87854: [MAINTAINER] graphics/ida: Fix non standart LOCALBASE
Andrey Slusar
anrays at gmail.com
Sat Oct 22 22:30:21 UTC 2005
>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 at santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386
>Description:
Notified by kris at .
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:
More information about the freebsd-ports-bugs
mailing list