diff options
Diffstat (limited to 'comms/obexapp/patches/patch-af')
-rw-r--r-- | comms/obexapp/patches/patch-af | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/comms/obexapp/patches/patch-af b/comms/obexapp/patches/patch-af index 660cc02261a..854be7e1cc1 100644 --- a/comms/obexapp/patches/patch-af +++ b/comms/obexapp/patches/patch-af @@ -1,23 +1,23 @@ -$NetBSD: patch-af,v 1.5 2010/01/15 17:48:44 plunky Exp $ +$NetBSD: patch-af,v 1.6 2010/11/17 19:14:34 plunky Exp $ ---- Makefile.orig 2010-01-08 18:31:22.000000000 +0000 +--- Makefile.orig 2010-11-03 18:28:50.000000000 +0000 +++ Makefile -@@ -16,9 +16,15 @@ DEBUG_FLAGS= -g +@@ -16,9 +16,16 @@ DEBUG_FLAGS= -g CFLAGS+= -I/usr/local/include \ -I/usr/local/include/openobex --DPADD= ${LIBBLUETOOTH} ${LIBSDP} ${LIBBSDXML} ${LIBREADLINE} +-DPADD= ${LIBBLUETOOTH} ${LIBSDP} ${LIBREADLINE} +DPADD= ${LIBBLUETOOTH} ${LIBREADLINE} LDADD= -L/usr/lib -L/usr/local/lib \ -- -lbluetooth -lsdp -lopenobex -lbsdxml -lreadline -liconv +- -lbluetooth -lsdp -lopenobex -lexpat -lreadline -liconv + -lbluetooth -lopenobex -lexpat -lreadline -liconv --.include <bsd.prog.mk> +.if (${HAVE_LIBSDP:Uyes} == "no") +CPPFLAGS+= -DSDP_COMPAT +.else +DPADD+= ${LIBSDP} +LDADD+= -lsdp +.endif ++ + .include <bsd.prog.mk> -+.include <bsd.prog.mk> |