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) != "."