pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/dfu-util Correct the if statement to AND, not OR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a987aebfbe7
branches:  trunk
changeset: 355487:4a987aebfbe7
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Sat Dec 03 13:02:22 2016 +0000

description:
Correct the if statement to AND, not OR.
Unbreak builds on FreeBSD & DragonFly BSD

diffstat:

 comms/dfu-util/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 1c92b94cf7d4 -r 4a987aebfbe7 comms/dfu-util/Makefile
--- a/comms/dfu-util/Makefile   Sat Dec 03 11:31:02 2016 +0000
+++ b/comms/dfu-util/Makefile   Sat Dec 03 13:02:22 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2016/12/03 03:26:07 sevan Exp $
+# $NetBSD: Makefile,v 1.2 2016/12/03 13:02:22 sevan Exp $
 #
 
 DISTNAME=              dfu-util-0.9
@@ -19,7 +19,7 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${OPSYS} != "FreeBSD" || ${OPSYS} != "DragonFly"
+.if ${OPSYS} != "FreeBSD" && ${OPSYS} != "DragonFly"
 BUILDLINK_TRANSFORM+=  l:usb:usb-1.0
 .endif
 



Home | Main Index | Thread Index | Old Index