diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-02-25 17:25:05 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-02-25 17:25:05 +0000 |
commit | 1fb8f47db674df4373f1c77d343fec4fa366a226 (patch) | |
tree | 9adcd7da3bfa3c97512c84fa8f3ff14983ce3b5f /pkgtools/pkg_install | |
parent | 489e92477fccc83db6f56711d87448251a1ea7ad (diff) | |
download | pkgsrc-1fb8f47db674df4373f1c77d343fec4fa366a226.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r-- | pkgtools/pkg_install/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile index d5bdce66bb2..2fa0867a1b2 100644 --- a/pkgtools/pkg_install/Makefile +++ b/pkgtools/pkg_install/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.215 2016/01/21 21:32:22 tron Exp $ +# $NetBSD: Makefile,v 1.216 2016/02/25 17:25:05 jperkin Exp $ # Notes to package maintainers: # @@ -165,20 +165,14 @@ CONFIG_GUESS_OVERRIDE+= ${WRKDIR}/libarchive/build/autoconf/config.guess \ CONFIG_SUB_OVERRIDE+= ${WRKDIR}/libarchive/build/autoconf/config.sub \ ${WRKSRC}/config.sub -. if ${OPSYS} == "Cygwin" -CPPFLAGS+= -DLIBARCHIVE_STATIC -. endif +CPPFLAGS.Cygwin+= -DLIBARCHIVE_STATIC -. if ${OPSYS} == "Darwin" # Make sure that the linker used our static library instead of the # (outdated) dynamic library "/usr/lib/libarchive.dylib". -LDFLAGS+= -Wl,-search_paths_first -. endif +LDFLAGS.Darwin+= -Wl,-search_paths_first -. if ${OPSYS} == "SunOS" # workaround for pkg/45491 -CONFIGURE_ENV+= ac_cv_header_ext2fs_ext2_fs_h=no -. endif +CONFIGURE_ENV.SunOS+= ac_cv_header_ext2fs_ext2_fs_h=no # Hack to make sure that the libarchive version is replaced pre-configure: config-guess-override config-sub-override |