pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/ircd-hybrid



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Mar 16 11:19:33 UTC 2024

Modified Files:
        pkgsrc/chat/ircd-hybrid: Makefile

Log Message:
ircd-hybrid: Fix building on versions of Mac OS X before 10.12


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 pkgsrc/chat/ircd-hybrid/Makefile

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

Modified files:

Index: pkgsrc/chat/ircd-hybrid/Makefile
diff -u pkgsrc/chat/ircd-hybrid/Makefile:1.89 pkgsrc/chat/ircd-hybrid/Makefile:1.90
--- pkgsrc/chat/ircd-hybrid/Makefile:1.89       Wed Nov  8 13:18:15 2023
+++ pkgsrc/chat/ircd-hybrid/Makefile    Sat Mar 16 11:19:33 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.89 2023/11/08 13:18:15 wiz Exp $
+# $NetBSD: Makefile,v 1.90 2024/03/16 11:19:33 nia Exp $
 
 DISTNAME=      ircd-hybrid-8.2.43
 PKGREVISION=   4
@@ -70,6 +70,12 @@ SUBST_SED.bpaths+=   -e "s|RUNPATH \"/ircd
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=       --localstatedir=${VARBASE}/log/ircd-hybrid
 
+# Macs lacked clock_gettime way past its implement-by date.
+.if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} < 101200
+LDFLAGS+=      -lMacportsLegacySupport
+.  include "../../devel/macports-legacy-support/buildlink3.mk"
+.endif
+
 .include "options.mk"
 
 post-install:



Home | Main Index | Thread Index | Old Index