svn commit: r493539 - head/devel/libnfc

Romain Tartière romain at FreeBSD.org
Fri Feb 22 02:13:46 UTC 2019


Author: romain
Date: Fri Feb 22 02:13:45 2019
New Revision: 493539
URL: https://svnweb.freebsd.org/changeset/ports/493539

Log:
  Fix pn532 module use over UART
  
  Some macros are only visible if __BSD_VISIBLE is defined.  When absent, libnfc
  compiles successfuly, but some features are broken.  This fix PN532 over UART.
  
  PR:		233045
  Reported by:	alex at xanderio.de

Modified:
  head/devel/libnfc/Makefile

Modified: head/devel/libnfc/Makefile
==============================================================================
--- head/devel/libnfc/Makefile	Thu Feb 21 22:31:02 2019	(r493538)
+++ head/devel/libnfc/Makefile	Fri Feb 22 02:13:45 2019	(r493539)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libnfc
 PORTVERSION=	1.7.1
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel
 MASTER_SITES=	http://dl.bintray.com/nfc-tools/sources/ \
 		http://romain.blogreen.org/distfiles/
@@ -30,6 +30,7 @@ GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 USES=		gmake libtool pathfix pkgconfig readline tar:bzip2
 MAKE_ENV=	INSTALL_STRIP_FLAG="${STRIP}"
+CFLAGS+= 	-D__BSD_VISIBLE
 
 # Restrict to stable (even) versions, indicated by the second component.
 PORTSCOUT=	limitw:1,even


More information about the svn-ports-all mailing list