aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2005-10-23 07:51:43 +0800
committerehaupt <ehaupt@FreeBSD.org>2005-10-23 07:51:43 +0800
commitbb83adce0cb197847e9507cca53654594615c393 (patch)
treeae785d9c45a9dbd1377562fd9af7e2f55062d7ad
parent45fc6323b15f528bc671eab90737ba89f1165325 (diff)
downloadfreebsd-ports-gnome-bb83adce0cb197847e9507cca53654594615c393.tar.gz
freebsd-ports-gnome-bb83adce0cb197847e9507cca53654594615c393.tar.zst
freebsd-ports-gnome-bb83adce0cb197847e9507cca53654594615c393.zip
- Respect LOCALBASE
- Bump PORTREVISION PR: 87854 Reported by: pointyhat via kris Submitted by: Andrey Slusar <anrays@gmail.com> (maintainer)
-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) != "."