pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/bozohttpd



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Mar 16 20:38:43 UTC 2024

Modified Files:
        pkgsrc/www/bozohttpd: Makefile

Log Message:
bozohttpd: Fix building on older Mac OS X


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 pkgsrc/www/bozohttpd/Makefile

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

Modified files:

Index: pkgsrc/www/bozohttpd/Makefile
diff -u pkgsrc/www/bozohttpd/Makefile:1.100 pkgsrc/www/bozohttpd/Makefile:1.101
--- pkgsrc/www/bozohttpd/Makefile:1.100 Sun Feb  4 06:13:49 2024
+++ pkgsrc/www/bozohttpd/Makefile       Sat Mar 16 20:38:43 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.100 2024/02/04 06:13:49 mrg Exp $
+# $NetBSD: Makefile,v 1.101 2024/03/16 20:38:43 nia Exp $
 #
 
 DISTNAME=      bozohttpd-20240126
@@ -33,6 +33,12 @@ SUBST_SED.paths=     -e "s|/usr/pkg/|"${PREF
 
 INSTALLATION_DIRS=     libexec ${PKGMANDIR}/man8
 
+# 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
+
 LDFLAGS.SunOS+=                -lsocket -lnsl
 
 do-install:



Home | Main Index | Thread Index | Old Index