Tue Dec 10 14:19:32 2013 UTC ()
Add socket libraries on SunOS.  Patch from Sebastian Wiedenroth.


(jperkin)
diff -r1.23 -r1.24 pkgsrc/comms/openobex/Makefile

cvs diff -r1.23 -r1.24 pkgsrc/comms/openobex/Makefile (expand / switch to unified diff)

--- pkgsrc/comms/openobex/Makefile 2013/03/21 06:53:36 1.23
+++ pkgsrc/comms/openobex/Makefile 2013/12/10 14:19:32 1.24
@@ -1,33 +1,35 @@ @@ -1,33 +1,35 @@
1# $NetBSD: Makefile,v 1.23 2013/03/21 06:53:36 sbd Exp $ 1# $NetBSD: Makefile,v 1.24 2013/12/10 14:19:32 jperkin Exp $
2# 2#
3 3
4DISTNAME= openobex-1.7-Source 4DISTNAME= openobex-1.7-Source
5PKGNAME= openobex-1.7 5PKGNAME= openobex-1.7
6CATEGORIES= comms 6CATEGORIES= comms
7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openobex/} 7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openobex/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://gitorious.org/openobex 10HOMEPAGE= https://gitorious.org/openobex
11COMMENT= Implementation of the Object Exchange (OBEX) protocol 11COMMENT= Implementation of the Object Exchange (OBEX) protocol
12LICENSE= gnu-lgpl-v2 12LICENSE= gnu-lgpl-v2
13 13
14BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen 14BUILD_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
15 15
16USE_CMAKE= yes 16USE_CMAKE= yes
17USE_TOOLS+= cmake pkg-config 17USE_TOOLS+= cmake pkg-config
18 18
19PKGCONFIG_OVERRIDE= openobex.pc.in 19PKGCONFIG_OVERRIDE= openobex.pc.in
20 20
 21LDFLAGS.SunOS+= -lsocket -lnsl
 22
21.include "../../mk/bsd.prefs.mk" 23.include "../../mk/bsd.prefs.mk"
22 24
23EGDIR= share/examples/openobex 25EGDIR= share/examples/openobex
24 26
25.if ${OPSYS} == "Linux" 27.if ${OPSYS} == "Linux"
26INSTALLATION_DIRS+= ${EGDIR} 28INSTALLATION_DIRS+= ${EGDIR}
27MAKE_DIRS+= /etc/udev /etc/udev/rules.d 29MAKE_DIRS+= /etc/udev /etc/udev/rules.d
28CONF_FILES+= ${EGDIR}/60-openobex.rules \ 30CONF_FILES+= ${EGDIR}/60-openobex.rules \
29 /etc/udev/rules.d/60-openobex.rules 31 /etc/udev/rules.d/60-openobex.rules
30 32
31post-install: 33post-install:
32 ${MV} ${DESTDIR}/lib/udev/rules.d/60-openobex.rules \ 34 ${MV} ${DESTDIR}/lib/udev/rules.d/60-openobex.rules \
33 ${DESTDIR}${PREFIX}/${EGDIR}/60-openobex.rules 35 ${DESTDIR}${PREFIX}/${EGDIR}/60-openobex.rules