Il giorno 23/mar/2014 19.48, "Matthias Kilian" <k...@outback.escape.de> ha scritto: > > On Sun, Mar 23, 2014 at 08:37:37AM +0100, David Coppa wrote: > > > > > That should be the following ports: > > > [...] > > > > And net/wpa_supplicant: I committed the update to ver 2.1 directly > > > > without the librt chunk. > > > > > > But is it worth reverting it back to 2.0? Searching for lrt in 2.1 > > > exposes just this small chunk in the Makefile: > > > > > > ifeq ($(CONFIG_ELOOP), eloop) > > > # Using glibc < 2.17 requires -lrt for clock_gettime() > > > |LIBS += -lrt > > > |LIBS_c += -lrt > > > |LIBS_p += -lrt > > > endif > > > > > > I'm not even sure wether those assignments are done during a build > > > on OpenBSD > > > > Yes, that's exactly the chunk that needs to be removed. > > Here's the diff: > > Index: patches/patch-wpa_supplicant_Makefile > =================================================================== > RCS file: /cvs/ports/security/wpa_supplicant/patches/patch-wpa_supplicant_Makefile,v > retrieving revision 1.2 > diff -u -p -r1.2 patch-wpa_supplicant_Makefile > --- patches/patch-wpa_supplicant_Makefile 18 Mar 2014 05:57:22 -0000 1.2 > +++ patches/patch-wpa_supplicant_Makefile 23 Mar 2014 18:45:26 -0000 > @@ -1,6 +1,6 @@ > $OpenBSD: patch-wpa_supplicant_Makefile,v 1.2 2014/03/18 05:57:22 dcoppa Exp $ > --- wpa_supplicant/Makefile.orig Tue Feb 4 12:23:35 2014 > -+++ wpa_supplicant/Makefile Fri Mar 14 10:54:28 2014 > ++++ wpa_supplicant/Makefile Sun Mar 23 19:45:14 2014 > @@ -56,7 +56,7 @@ mkconfig: > echo CONFIG_DRIVER_WEXT=y >> .config > > @@ -10,3 +10,17 @@ $OpenBSD: patch-wpa_supplicant_Makefile, > > install: $(addprefix $(DESTDIR)$(BINDIR)/,$(BINALL)) > $(MAKE) -C ../src install > +@@ -118,13 +118,6 @@ CONFIG_ELOOP=eloop > + endif > + OBJS += ../src/utils/$(CONFIG_ELOOP).o > + OBJS_c += ../src/utils/$(CONFIG_ELOOP).o > +- > +-ifeq ($(CONFIG_ELOOP), eloop) > +-# Using glibc < 2.17 requires -lrt for clock_gettime() > +-LIBS += -lrt > +-LIBS_c += -lrt > +-LIBS_p += -lrt > +-endif > + > + ifdef CONFIG_ELOOP_POLL > + CFLAGS += -DCONFIG_ELOOP_POLL
Ok with me. Thanks, David