diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-02-25 09:28:36 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-02-25 09:28:36 +0000 |
commit | 34ab0d8dae9a7ae721c14dcbaa0f6019dec3d39c (patch) | |
tree | 533d85b6195e8e3769e137245d5a2bb84149fe4a /archivers/xz | |
parent | fb004caf224b9dc3851a2b47e93834c7eb188a49 (diff) | |
download | pkgsrc-34ab0d8dae9a7ae721c14dcbaa0f6019dec3d39c.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'archivers/xz')
-rw-r--r-- | archivers/xz/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/archivers/xz/Makefile b/archivers/xz/Makefile index 83618c97f8d..6dff91e57a5 100644 --- a/archivers/xz/Makefile +++ b/archivers/xz/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2015/10/01 05:11:36 adam Exp $ +# $NetBSD: Makefile,v 1.23 2016/02/25 09:28:37 jperkin Exp $ DISTNAME= xz-5.2.2 CATEGORIES= archivers @@ -10,9 +10,6 @@ HOMEPAGE= http://tukaani.org/xz/ COMMENT= XZ utilities LICENSE= public-domain AND gnu-gpl-v2 -.include "../../mk/bsd.prefs.mk" -.include "options.mk" - USE_LIBTOOL= yes GNU_CONFIGURE= yes PKGCONFIG_OVERRIDE= src/liblzma/liblzma.pc.in @@ -27,10 +24,10 @@ CONFLICTS= lzma-[0-9]* lzma-utils-[0-9]* lzmalib-[0-9]* CONFIGURE_ARGS+= --disable-assembler .endif -.if ${OPSYS} == "SunOS" -CONFIGURE_ENV+= ac_cv_have_decl_optreset=no -CONFIGURE_ENV+= gl_cv_cc_visibility=no -.endif +CONFIGURE_ENV.SunOS+= ac_cv_have_decl_optreset=no +CONFIGURE_ENV.SunOS+= gl_cv_cc_visibility=no + +.include "options.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |