bozohttpd: Fix building on older Mac OS X
This commit is contained in:
parent
28727ed806
commit
19fd57e81c
|
@ -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/|"${PREFIX:Q}"/|g"
|
|||
|
||||
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:
|
||||
|
|
Loading…
Reference in New Issue