Received: by mail.netbsd.org (Postfix, from userid 605) id 5A00384D87; Tue, 23 Oct 2018 13:10:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5E2CD84D64 for ; Tue, 23 Oct 2018 13:10:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id KzA9lSfRTtbh for ; Tue, 23 Oct 2018 13:10:05 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 83AE584D45 for ; Tue, 23 Oct 2018 13:10:05 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 7D735FBEE; Tue, 23 Oct 2018 13:10:05 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1540300205281950" MIME-Version: 1.0 Date: Tue, 23 Oct 2018 13:10:05 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/net/isc-dhcp4 To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20181023131005.7D735FBEE@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1540300205281950 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Tue Oct 23 13:10:05 UTC 2018 Modified Files: pkgsrc/net/isc-dhcp4: Makefile.common Log Message: isc-dhcp4: Fix build on SunOS with newer GCC. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 pkgsrc/net/isc-dhcp4/Makefile.common Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1540300205281950 Content-Disposition: inline Content-Length: 1238 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/net/isc-dhcp4/Makefile.common diff -u pkgsrc/net/isc-dhcp4/Makefile.common:1.36 pkgsrc/net/isc-dhcp4/Makefile.common:1.37 --- pkgsrc/net/isc-dhcp4/Makefile.common:1.36 Wed Mar 21 15:05:05 2018 +++ pkgsrc/net/isc-dhcp4/Makefile.common Tue Oct 23 13:10:05 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.36 2018/03/21 15:05:05 taca Exp $ +# $NetBSD: Makefile.common,v 1.37 2018/10/23 13:10:05 jperkin Exp $ # # used by net/isc-dhcp4/Makefile # used by net/isc-dhcpd4/Makefile @@ -27,7 +27,7 @@ DHCP_PID?= ${VARBASE}/run/isc-dhcp PKG_SYSCONFSUBDIR= dhcp USE_TOOLS+= gmake gunzip gzip tar -USE_LANGUAGES+= c c++ +USE_LANGUAGES+= c99 c++ PATCHDIR= ${.CURDIR}/../isc-dhcp4/patches DISTINFO_FILE= ${.CURDIR}/../isc-dhcp4/distinfo @@ -57,6 +57,8 @@ CONFIGURE_ENV.NetBSD+= ac_cv_file__dev_r CONFIGURE_ARGS.NetBSD+= --with-randomdev=/dev/random .endif +CPPFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ + SUBST_CLASSES+= config SUBST_STAGE.config= pre-configure SUBST_FILES.config= includes/dhcpd.h @@ -93,4 +95,5 @@ post-configure: ${CONFIGURE_ARGS} \ ${BIND_CONFIGURE_ARGS} +.include "../../devel/zlib/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" --_----------=_1540300205281950--