diff options
author | tnn <tnn> | 2015-03-31 09:44:30 +0000 |
---|---|---|
committer | tnn <tnn> | 2015-03-31 09:44:30 +0000 |
commit | 04e25533f73a2c51c93b8d86ea75dd7e185fae1b (patch) | |
tree | 5d089b0a89860bda1ec9f573243d47a29c93a1da /net/synergy | |
parent | 20f3e7ee8da599844ef7e1890a043c03fa00bda0 (diff) | |
download | pkgsrc-04e25533f73a2c51c93b8d86ea75dd7e185fae1b.tar.gz |
PR pkg/49803 solaris build fix
Diffstat (limited to 'net/synergy')
-rw-r--r-- | net/synergy/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net/synergy/Makefile b/net/synergy/Makefile index f151912112f..ecaced034c9 100644 --- a/net/synergy/Makefile +++ b/net/synergy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2015/03/19 19:26:28 tnn Exp $ +# $NetBSD: Makefile,v 1.28 2015/03/31 09:44:30 tnn Exp $ # DISTNAME= synergy-1.7.0 @@ -62,6 +62,13 @@ CWRAPPERS_APPEND.cxx+= -std=c++11 -Wno-switch -Wno-unused \ -Wno-deprecated-register -Wno-tautological-compare .endif +.include "../../mk/endian.mk" +.if ${MACHINE_ENDIAN} == "big" +CFLAGS+= -DUSYNERGY_BIG_ENDIAN +.else +CFLAGS+= -DUSYNERGY_LITTLE_ENDIAN +.endif + # XXX surely there exists a better way to do this .if ${OPSYS} != "Linux" BUILDLINK_TRANSFORM+= rm:-ldl |