pkgsrc-Bugs archive

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

Re: pkg/47042: Add DragonflyBSD support to libusb1



The following reply was made to PR pkg/47042; it has been noted by GNATS.

From: Makoto Fujiwara <makoto%ki.nu@localhost>
To: John Marino <netbsd%marino.st@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, Neil <kyuupichan%gmail.com@localhost>
Subject: Re: pkg/47042: Add DragonflyBSD support to libusb1
Date: Fri, 11 Oct 2013 12:04:04 +0900

 John,
 Thanks for the quick input
 
 How about the patch attached ?
 ---
 Makoto Fujiwara, 
 Chiba, Japan, Narita Airport and Disneyland prefecture.
 
 Index: devel/libusb1/Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/devel/libusb1/Makefile,v
 retrieving revision 1.8
 diff -u -r1.8 Makefile
 --- devel/libusb1/Makefile     20 Nov 2012 13:01:47 -0000      1.8
 +++ devel/libusb1/Makefile     11 Oct 2013 03:03:09 -0000
 @@ -13,7 +13,7 @@
  COMMENT=      USB Access Library (version 1)
  LICENSE=      gnu-lgpl-v2.1
  
 -NOT_FOR_PLATFORM=     DragonFly-*-* SunOS-*-*
 +NOT_FOR_PLATFORM=     SunOS-*-*
  
  GNU_CONFIGURE=        yes
  USE_LIBTOOL=  yes
 @@ -23,4 +23,9 @@
  
  CONFLICTS=    libusbx-[0-9]*
  
 +.include "../../mk/bsd.prefs.mk":
 +.if !empty(OPSYS:MDragonFly) && empty(OS_VERSION:M3.[0-4]*)
 +PKG_FAIL_REASON=      "DragonFly 3.5 or later has libusb{,1} in base system, 
use builtin one, thanks"
 +.endif
 +
  .include "../../mk/bsd.pkg.mk"
 


Home | Main Index | Thread Index | Old Index