pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/dhcpcd



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Dec 18 08:15:03 UTC 2025

Modified Files:
        pkgsrc/net/dhcpcd: Makefile

Log Message:
dhcpcd: Use old name for ppoll on netbsd-9 and earlier.


To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 pkgsrc/net/dhcpcd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/dhcpcd/Makefile
diff -u pkgsrc/net/dhcpcd/Makefile:1.127 pkgsrc/net/dhcpcd/Makefile:1.128
--- pkgsrc/net/dhcpcd/Makefile:1.127    Fri Nov 14 15:51:42 2025
+++ pkgsrc/net/dhcpcd/Makefile  Thu Dec 18 08:15:03 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.127 2025/11/14 15:51:42 roy Exp $
+# $NetBSD: Makefile,v 1.128 2025/12/18 08:15:03 nia Exp $
 
 DISTNAME=              dhcpcd-10.3.0
 CATEGORIES=            net
@@ -58,6 +58,10 @@ CONFIGURE_ARGS+=     --host=${MACHINE_GNU_PL
 CONFIGURE_ARGS+=       --build=${NATIVE_MACHINE_GNU_PLATFORM:Q}
 .endif
 
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 100000
+CFLAGS+=               -Dppoll=pollts
+.endif
+
 EGDIR=                 ${PREFIX}/share/examples/dhcpcd
 INSTALL_MAKE_FLAGS+=   SYSCONFDIR=${EGDIR}
 CONF_FILES+=           ${EGDIR}/dhcpcd.conf ${PKG_SYSCONFDIR}/dhcpcd.conf



Home | Main Index | Thread Index | Old Index