Tue Mar 31 09:44:30 2015 UTC ()
PR pkg/49803 solaris build fix


(tnn)
diff -r1.27 -r1.28 pkgsrc/net/synergy/Makefile

cvs diff -r1.27 -r1.28 pkgsrc/net/synergy/Makefile (expand / switch to unified diff)

--- pkgsrc/net/synergy/Makefile 2015/03/19 19:26:28 1.27
+++ pkgsrc/net/synergy/Makefile 2015/03/31 09:44:30 1.28
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.27 2015/03/19 19:26:28 tnn Exp $ 1# $NetBSD: Makefile,v 1.28 2015/03/31 09:44:30 tnn Exp $
2# 2#
3 3
4DISTNAME= synergy-1.7.0 4DISTNAME= synergy-1.7.0
5CATEGORIES= net x11 5CATEGORIES= net x11
6MASTER_SITES= ${MASTER_SITE_GITHUB:=synergy/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=synergy/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://synergy-project.org/ 9HOMEPAGE= http://synergy-project.org/
10COMMENT= Let a user share a mouse and keyboard among computers 10COMMENT= Let a user share a mouse and keyboard among computers
11LICENSE= gnu-gpl-v2 11LICENSE= gnu-gpl-v2
12 12
13EXTRACT_USING= bsdtar 13EXTRACT_USING= bsdtar
14USE_LANGUAGES= c c++ 14USE_LANGUAGES= c c++
@@ -52,26 +52,33 @@ do-install: @@ -52,26 +52,33 @@ do-install:
52.endfor 52.endfor
53.for f in ${EXAMPLES} 53.for f in ${EXAMPLES}
54 ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DESTDIR}${PREFIX}/share/examples/${PKGBASE} 54 ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DESTDIR}${PREFIX}/share/examples/${PKGBASE}
55.endfor 55.endfor
56 56
57.include "../../mk/compiler.mk" 57.include "../../mk/compiler.mk"
58.if !empty(PKGSRC_COMPILER:Mclang) 58.if !empty(PKGSRC_COMPILER:Mclang)
59_WRAP_EXTRA_ARGS.CXX+= -std=c++11 -Wno-switch -Wno-unused \ 59_WRAP_EXTRA_ARGS.CXX+= -std=c++11 -Wno-switch -Wno-unused \
60 -Wno-deprecated-register -Wno-tautological-compare 60 -Wno-deprecated-register -Wno-tautological-compare
61CWRAPPERS_APPEND.cxx+= -std=c++11 -Wno-switch -Wno-unused \ 61CWRAPPERS_APPEND.cxx+= -std=c++11 -Wno-switch -Wno-unused \
62 -Wno-deprecated-register -Wno-tautological-compare 62 -Wno-deprecated-register -Wno-tautological-compare
63.endif 63.endif
64 64
 65.include "../../mk/endian.mk"
 66.if ${MACHINE_ENDIAN} == "big"
 67CFLAGS+= -DUSYNERGY_BIG_ENDIAN
 68.else
 69CFLAGS+= -DUSYNERGY_LITTLE_ENDIAN
 70.endif
 71
65# XXX surely there exists a better way to do this 72# XXX surely there exists a better way to do this
66.if ${OPSYS} != "Linux" 73.if ${OPSYS} != "Linux"
67BUILDLINK_TRANSFORM+= rm:-ldl 74BUILDLINK_TRANSFORM+= rm:-ldl
68.endif 75.endif
69 76
70.include "../../www/curl/buildlink3.mk" 77.include "../../www/curl/buildlink3.mk"
71.if !exists(/System/Library/Frameworks/Carbon.framework) 78.if !exists(/System/Library/Frameworks/Carbon.framework)
72.include "../../x11/libXext/buildlink3.mk" 79.include "../../x11/libXext/buildlink3.mk"
73.include "../../x11/libXinerama/buildlink3.mk" 80.include "../../x11/libXinerama/buildlink3.mk"
74.include "../../x11/libXrandr/buildlink3.mk" 81.include "../../x11/libXrandr/buildlink3.mk"
75.include "../../x11/libXt/buildlink3.mk" 82.include "../../x11/libXt/buildlink3.mk"
76.include "../../x11/libXtst/buildlink3.mk" 83.include "../../x11/libXtst/buildlink3.mk"
77.endif 84.endif