aboutsummaryrefslogtreecommitdiff
path: root/graphics/ida
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2005-10-22 23:51:43 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2005-10-22 23:51:43 +0000
commita318c61145927b3f9fe810bafaecc764ecb83877 (patch)
tree6ea87944df4d70f9a6defb9d1baf4924ef703444 /graphics/ida
parent3793eeb5cf9d8489669b269c3b5b08ccd03bd75d (diff)
downloadports-a318c61145927b3f9fe810bafaecc764ecb83877.tar.gz
ports-a318c61145927b3f9fe810bafaecc764ecb83877.zip
- Respect LOCALBASE
- Bump PORTREVISION PR: 87854 Reported by: pointyhat via kris Submitted by: Andrey Slusar <anrays@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=146147
Diffstat (limited to 'graphics/ida')
-rw-r--r--graphics/ida/Makefile1
-rw-r--r--graphics/ida/files/patch-mk::Variables.mk15
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/ida/Makefile b/graphics/ida/Makefile
index b7f09375be23..5b20b4d83f17 100644
--- a/graphics/ida/Makefile
+++ b/graphics/ida/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ida
PORTVERSION= 0.21
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://dl.bytesex.org/releases/fbida/
DISTNAME= ${PORTNAME}_${PORTVERSION}
diff --git a/graphics/ida/files/patch-mk::Variables.mk b/graphics/ida/files/patch-mk::Variables.mk
index bcfb6bda998b..48d0e1fd970d 100644
--- a/graphics/ida/files/patch-mk::Variables.mk
+++ b/graphics/ida/files/patch-mk::Variables.mk
@@ -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) != "."