diff options
author | jperkin <jperkin> | 2016-02-25 17:25:05 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2016-02-25 17:25:05 +0000 |
commit | 3be4db324f7877516e4224d6af5c3286507014dc (patch) | |
tree | 9adcd7da3bfa3c97512c84fa8f3ff14983ce3b5f /pkgtools/pkg_install | |
parent | 99e6a5f203c4ceb4e8c54c73e5eab60c7a9eb9f5 (diff) | |
download | pkgsrc-3be4db324f7877516e4224d6af5c3286507014dc.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 |