diff options
Diffstat (limited to 'comms/openobex/Makefile')
-rw-r--r-- | comms/openobex/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/comms/openobex/Makefile b/comms/openobex/Makefile index b6d7d3e0606..3a9e61544bd 100644 --- a/comms/openobex/Makefile +++ b/comms/openobex/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2006/07/02 18:16:53 xtraeme Exp $ +# $NetBSD: Makefile,v 1.9 2006/07/03 19:18:57 xtraeme Exp $ # DISTNAME= openobex-1.0.1 @@ -10,20 +10,25 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://openobex.sourceforge.net/ COMMENT= Implementation of the Object Exchange (OBEX) protocol -GNU_CONFIGURE= YES -USE_TOOLS+= gmake -USE_LIBTOOL= YES +GNU_CONFIGURE= yes +USE_TOOLS+= gmake pkg-config +USE_LIBTOOL= yes + +PKGCONFIG_OVERRIDE= openobex-config.in .include "../../mk/bsd.prefs.mk" .if (${OPSYS} == "NetBSD" && exists(/usr/include/bluetooth.h)) -SUBST_CLASSES+= bt +SUBST_CLASSES+= bt bt2 SUBST_STAGE.bt= post-patch SUBST_FILES.bt= configure SUBST_SED.bt= -e "s|bluetooth/bluetooth.h|bluetooth.h|g" SUBST_SED.bt+= -e "s|bluetooth/rfcomm.h|netbt/rfcomm.h|g" SUBST_SED.bt+= -e "s|sockaddr_rc|sockaddr_bt|g" SUBST_MESSAGE.bt= Fixing bluetooth detection. +SUBST_STAGE.bt2= post-patch +SUBST_FILES.bt2= src/obex.h +SUBST_SED.bt2= -e "s|ifndef SOL_RFCOMM|ifdef SOL_RFCOMM|" # bacpy() and friends CPPFLAGS+= -DCOMPAT_BLUEZ |