pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/synergy PR pkg/49803 solaris build fix



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bad56126f084
branches:  trunk
changeset: 649063:bad56126f084
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Mar 31 09:44:30 2015 +0000

description:
PR pkg/49803 solaris build fix

diffstat:

 net/synergy/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 34559c494ad5 -r bad56126f084 net/synergy/Makefile
--- a/net/synergy/Makefile      Tue Mar 31 04:38:30 2015 +0000
+++ b/net/synergy/Makefile      Tue Mar 31 09:44:30 2015 +0000
@@ -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 @@
                        -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



Home | Main Index | Thread Index | Old Index