diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2005-10-23 07:51:43 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2005-10-23 07:51:43 +0800 |
commit | bb83adce0cb197847e9507cca53654594615c393 (patch) | |
tree | ae785d9c45a9dbd1377562fd9af7e2f55062d7ad | |
parent | 45fc6323b15f528bc671eab90737ba89f1165325 (diff) | |
download | freebsd-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/Makefile | 1 | ||||
-rw-r--r-- | graphics/ida/files/patch-mk::Variables.mk | 15 |
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) != "." |