1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Respect LOCALBASE

- Bump PORTREVISION

PR:		87854
Reported by:	pointyhat via kris
Submitted by:	Andrey Slusar <anrays@gmail.com> (maintainer)
This commit is contained in:
Emanuel Haupt 2005-10-22 23:51:43 +00:00
parent 3793eeb5cf
commit a318c61145
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146147
2 changed files with 15 additions and 1 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= ida
PORTVERSION= 0.21
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://dl.bytesex.org/releases/fbida/
DISTNAME= ${PORTNAME}_${PORTVERSION}

View File

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