| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.207 2015/04/02 23:06:34 jperkin Exp $ | | 1 | # $NetBSD: Makefile,v 1.208 2015/04/21 00:28:19 joerg Exp $ |
2 | | | 2 | |
3 | # Notes to package maintainers: | | 3 | # Notes to package maintainers: |
4 | # | | 4 | # |
5 | # Updating this package does not automatically necessitate bumping | | 5 | # Updating this package does not automatically necessitate bumping |
6 | # PKGTOOLS_REQD in bsd.pkg.mk. Do so if and only if there is a critical | | 6 | # PKGTOOLS_REQD in bsd.pkg.mk. Do so if and only if there is a critical |
7 | # change in the pkg_* tools that pkgsrc relies on for proper operation. | | 7 | # change in the pkg_* tools that pkgsrc relies on for proper operation. |
8 | | | 8 | |
9 | PKGNAME= pkg_install-${VERSION} | | 9 | PKGNAME= pkg_install-${VERSION} |
10 | CATEGORIES= pkgtools | | 10 | CATEGORIES= pkgtools |
11 | | | 11 | |
12 | MAINTAINER= agc@NetBSD.org | | 12 | MAINTAINER= agc@NetBSD.org |
13 | HOMEPAGE= http://www.pkgsrc.org/ | | 13 | HOMEPAGE= http://www.pkgsrc.org/ |
14 | COMMENT= Package management and administration tools for pkgsrc | | 14 | COMMENT= Package management and administration tools for pkgsrc |
| @@ -141,28 +141,30 @@ LDFLAGS+= -L${WRKDIR}/zlib | | | @@ -141,28 +141,30 @@ LDFLAGS+= -L${WRKDIR}/zlib |
141 | CPPFLAGS+= -I${WRKDIR}/libarchive/libarchive | | 141 | CPPFLAGS+= -I${WRKDIR}/libarchive/libarchive |
142 | LDFLAGS+= -L${WRKDIR}/libarchive/.libs | | 142 | LDFLAGS+= -L${WRKDIR}/libarchive/.libs |
143 | | | 143 | |
144 | # Until we support pkgsrc openssl at bootstrap time, disable it completely | | 144 | # Until we support pkgsrc openssl at bootstrap time, disable it completely |
145 | # if asked to avoid the builtin. | | 145 | # if asked to avoid the builtin. |
146 | . if empty(USE_BUILTIN.openssl:M[Yy][Ee][Ss]) | | 146 | . if empty(USE_BUILTIN.openssl:M[Yy][Ee][Ss]) |
147 | LIBARCHIVE_CONFIGURE_ARGS= --without-openssl | | 147 | LIBARCHIVE_CONFIGURE_ARGS= --without-openssl |
148 | . endif | | 148 | . endif |
149 | | | 149 | |
150 | LIBARCHIVE_LIBS= ${SED} -n -e 's/^Libs.private://p' \ | | 150 | LIBARCHIVE_LIBS= ${SED} -n -e 's/^Libs.private://p' \ |
151 | ${WRKDIR}/libarchive/build/pkgconfig/libarchive.pc 2>/dev/null || echo | | 151 | ${WRKDIR}/libarchive/build/pkgconfig/libarchive.pc 2>/dev/null || echo |
152 | LIBS+= ${LIBARCHIVE_LIBS:sh} | | 152 | LIBS+= ${LIBARCHIVE_LIBS:sh} |
153 | | | 153 | |
154 | CONFIG_GUESS_OVERRIDE+= ${WRKDIR}/libarchive/build/autoconf/config.guess | | 154 | CONFIG_GUESS_OVERRIDE+= ${WRKDIR}/libarchive/build/autoconf/config.guess \ |
155 | CONFIG_SUB_OVERRIDE+= ${WRKDIR}/libarchive/build/autoconf/config.sub | | 155 | ${WRKSRC}/config.guess |
| | | 156 | CONFIG_SUB_OVERRIDE+= ${WRKDIR}/libarchive/build/autoconf/config.sub \ |
| | | 157 | ${WRKSRC}/config.sub |
156 | | | 158 | |
157 | . if ${OPSYS} == "Cygwin" | | 159 | . if ${OPSYS} == "Cygwin" |
158 | CPPFLAGS+= -DLIBARCHIVE_STATIC | | 160 | CPPFLAGS+= -DLIBARCHIVE_STATIC |
159 | . endif | | 161 | . endif |
160 | | | 162 | |
161 | . if ${OPSYS} == "Darwin" | | 163 | . if ${OPSYS} == "Darwin" |
162 | # Make sure that the linker used our static library instead of the | | 164 | # Make sure that the linker used our static library instead of the |
163 | # (outdated) dynamic library "/usr/lib/libarchive.dylib". | | 165 | # (outdated) dynamic library "/usr/lib/libarchive.dylib". |
164 | LDFLAGS+= -Wl,-search_paths_first | | 166 | LDFLAGS+= -Wl,-search_paths_first |
165 | . endif | | 167 | . endif |
166 | | | 168 | |
167 | . if ${OPSYS} == "SunOS" | | 169 | . if ${OPSYS} == "SunOS" |
168 | # workaround for pkg/45491 | | 170 | # workaround for pkg/45491 |