pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/isc-dhcp4



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.

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"



Home | Main Index | Thread Index | Old Index