1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/comms/obexapp/files/patch-Makefile
Pav Lucistnik 4526133aa4 - Update to 1.4.14
PR:		ports/152343
Submitted by:	Guido Falsi <mad@madpilot.net> (maintainer)
2010-11-18 10:58:10 +00:00

32 lines
781 B
Plaintext

--- Makefile.orig 2010-11-03 19:28:50.000000000 +0100
+++ Makefile 2010-11-17 22:40:49.360429702 +0100
@@ -1,8 +1,11 @@
# $Id: Makefile,v 1.13 2010/11/03 18:28:50 max Exp $
# $FreeBSD$
-BINDIR= /usr/local/bin
-MANDIR= /usr/local/man/man
+PREFIX?= /usr/local
+LOCALBASE?= /usr/local
+
+BINDIR= ${PREFIX}/bin
+MANDIR= ${PREFIX}/man/man
PROG= obexapp
MAN1= obexapp.1
@@ -13,11 +16,11 @@
DEBUG_FLAGS= -g
-CFLAGS+= -I/usr/local/include \
- -I/usr/local/include/openobex
+CFLAGS+= -idirafter ${LOCALBASE}/include \
+ -I${LOCALBASE}/include/openobex
DPADD= ${LIBBLUETOOTH} ${LIBSDP} ${LIBREADLINE}
-LDADD= -L/usr/lib -L/usr/local/lib \
+LDADD= -L/usr/lib -L${LOCALBASE}/lib \
-lbluetooth -lsdp -lopenobex -lexpat -lreadline -liconv
.include <bsd.prog.mk>