Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 2020 12:07:58 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r550016 - head/devel/linux_libusb
Message-ID:  <202009251207.08PC7woZ064284@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Fri Sep 25 12:07:58 2020
New Revision: 550016
URL: https://svnweb.freebsd.org/changeset/ports/550016

Log:
  Link with -lrt again (for clock_gettime) after
  https://svnweb.freebsd.org/base?view=revision&revision=275024

Modified:
  head/devel/linux_libusb/Makefile

Modified: head/devel/linux_libusb/Makefile
==============================================================================
--- head/devel/linux_libusb/Makefile	Fri Sep 25 11:16:44 2020	(r550015)
+++ head/devel/linux_libusb/Makefile	Fri Sep 25 12:07:58 2020	(r550016)
@@ -3,7 +3,7 @@
 
 PORTNAME=	linux_libusb
 PORTVERSION=	13.0r${FSVN_REV}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel linux
 MASTER_SITES=	http://www.selasky.org/hans_petter/distfiles/ \
 		http://home.selasky.org/distfiles/
@@ -31,11 +31,11 @@ CFLAGS:=	${CFLAGS:N-march=*}
 CFLAGS+=	-I${WRKDIR}/${DISTNAME}/include
 SSP_CFLAGS?=	-fstack-protector # XXX -strong isn't supported by GCC < 4.9
 MAKE_ARGS+=	LIBUSB_GLOBAL_INCLUDE_FILE=libusb_global_linux.h
-MAKE_ARGS+=	PTHREAD_LIBS="-lpthread -lrt"
 MAKE_ARGS+=	NO_WERROR=yes
 MAKE_ARGS+=	WITHOUT_PROFILE=yes
 MAKE_ARGS+=	WITHOUT_SSP=yes
 MAKE_ARGS+=	__MAKE_CONF=""
+MAKE_ENV+=	LDADD="-lrt"
 
 # see: sysutils/pc-sysinstall/Makefile
 FSVN_REV=	358841



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009251207.08PC7woZ064284>