On Mon, May 06 2019, Stuart Henderson <s...@spacehopper.org> wrote:
> I think you're mixing -current ports and release packages. You'll avoid
> the 4.9/8 mismatch with a -stable ports tree,

Indeed, such a setup is just completely unsupported.

> and it will need the
> LIB_DEPENDS-main fix.

Here's the fix I committed to -current, minus the REVISION-main bump.
Thanks for the report.


Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/apcupsd/Makefile,v
retrieving revision 1.43
diff -u -p -r1.43 Makefile
--- Makefile    24 Oct 2018 14:28:10 -0000      1.43
+++ Makefile    7 May 2019 14:24:15 -0000
@@ -26,7 +26,8 @@ WANTLIB =             ${COMPILER_LIBCXX} c m pthrea
 
 COMPILER =             base-clang ports-gcc base-gcc
 
-LIB_DEPENDS-main =     devel/libusb-compat
+LIB_DEPENDS-main =     ${LIB_DEPENDS} \
+                       devel/libusb-compat
 WANTLIB-main =         ${WANTLIB} usb
 
 MASTER_SITES =         ${MASTER_SITE_SOURCEFORGE:=apcupsd/}

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to