diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-02-26 10:24:10 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-02-26 10:24:10 +0000 |
commit | c049a2ca48d1150abe59446f3082ca4116323bc6 (patch) | |
tree | 0296198370532d82efd6efd523c7ca1570359f37 /sysutils/syslog-ng | |
parent | 0538ec5b33e56381337ee00b1bb6243bc3bc3c7a (diff) | |
download | pkgsrc-c049a2ca48d1150abe59446f3082ca4116323bc6.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'sysutils/syslog-ng')
-rw-r--r-- | sysutils/syslog-ng/Makefile | 10 | ||||
-rw-r--r-- | sysutils/syslog-ng/Makefile.common | 10 |
2 files changed, 7 insertions, 13 deletions
diff --git a/sysutils/syslog-ng/Makefile b/sysutils/syslog-ng/Makefile index 0c09a290755..e9f0c1ca903 100644 --- a/sysutils/syslog-ng/Makefile +++ b/sysutils/syslog-ng/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2015/10/29 16:34:13 fhajny Exp $ +# $NetBSD: Makefile,v 1.24 2016/02/26 10:24:13 jperkin Exp $ .include "../../sysutils/syslog-ng/Makefile.common" @@ -6,11 +6,9 @@ CONFIGURE_ARGS+= --enable-ssl CONFIGURE_ARGS+= --enable-stomp CONFIGURE_ARGS+= --enable-tcp-wrapper -.if ${OPSYS} == "SunOS" -CONFIGURE_ARGS+= --enable-dynamic-linking -CONFIGURE_ARGS+= --enable-sun-streams -CPPFLAGS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -.endif +CONFIGURE_ARGS.SunOS+= --enable-dynamic-linking +CONFIGURE_ARGS.SunOS+= --enable-sun-streams +CPPFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ .include "options.mk" diff --git a/sysutils/syslog-ng/Makefile.common b/sysutils/syslog-ng/Makefile.common index 04eaced834a..df609887f5d 100644 --- a/sysutils/syslog-ng/Makefile.common +++ b/sysutils/syslog-ng/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.1 2015/10/29 16:34:13 fhajny Exp $ +# $NetBSD: Makefile.common,v 1.2 2016/02/26 10:24:13 jperkin Exp $ # used by sysutils/syslog-ng/Makefile # used by sysutils/syslog-ng/Makefile.module @@ -45,12 +45,8 @@ CONFIGURE_ARGS+= --with-libmongo-client=no CONFIGURE_ARGS+= --with-librabbitmq-client=no CONFIGURE_ARGS+= --with-pidfile-dir=${VARBASE}/run -.include "../../mk/bsd.prefs.mk" - -.if ${OPSYS} == "SunOS" -CONFIGURE_ARGS+= --enable-dynamic-linking -CPPFLAGS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -.endif +CONFIGURE_ARGS.SunOS+= --enable-dynamic-linking +CPPFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ SUBST_CLASSES+= unamepath SUBST_STAGE.unamepath= post-configure |