pkgsrc/pkgtools
riastradh 6352c62517 pkgtools/pkgin: Fix header file checks in configure.
https://github.com/NetBSDfr/pkgin/issues/133

   configure.ac wrongly checks for header files in build environment

   When configuring with --with-libarchive=/usr/pkg, pkgin's configure
   script tests whether /usr/pkg and /usr/pkg/include/archive.h exist.

   This is wrong -- it doesn't matter whether
   /usr/pkg/include/archive.h exists; what matters is whether the
   compiler can resolve #include <archive.h>, which it might be doing
   relative to a sysroot like
   /home/riastradh/netbsd/current/obj.evbarm64/destdir.evbarm.

   configure.ac should use AC_CHECK_HEADER instead to check whether
   #include <archive.h> works, and AC_CHECK_LIB to check whether
   linking with -larchive works; similarly for libfetch, openssl, and
   sqlite3. It should also provide a way to specify other arguments
   than just CPPFLAGS=-I/prefix/include LDFLAGS=-L/prefix/lib
   LIBS=-lwhatever, e.g. in principle some environments may need
   LDFLAGS=-L/sdk/prefix/lib\ -Wl,-R/opt/prefix/lib or LIBS=-lfetch
   -lssl -lcrypto.

   The result of the status quo is that pkgin can't currently be
   reasonably cross-compiled.
2024-05-27 23:27:10 +00:00
..
R2pkg
autoswc
binpatch
bootstrap-extras
bootstrap-mk-files bootstrap-mk-files: Update to 20240422. 2024-04-22 07:33:05 +00:00
cdpack
check-portability
compat_headers
createbuildlink
cwrappers Reset MAINTAINER 2022-11-09 13:14:06 +00:00
dfdisk
digest pkgtools/digest: Work around gcc compiler bug on VAX. 2024-05-19 13:30:39 +00:00
distbb Update dictbb to 0.48.0 2024-05-12 16:45:32 +00:00
distlint *: recursive bump for Python 3.11 as new default 2023-08-14 05:23:45 +00:00
genpkgng
genrpm
gensolpkg
gimme
import-package import-package: improve error message 2023-02-12 11:24:46 +00:00
libkver
libnbcompat libnbcompat: Rework in-place linking. 2024-03-19 23:18:21 +00:00
lintpkgsrc lintpkgsrc, regress: update references to pkglint files 2023-10-16 22:21:55 +00:00
mksandbox pkgtools/mksandbox - update to version 1.11 2023-12-05 20:45:27 +00:00
mktools
mtree
nih Update to 0.16.0 2024-05-27 21:23:35 +00:00
osabi
p5-pkgsrc-Dewey *: recursive bump for perl 5.38 2023-07-06 09:38:07 +00:00
pbulk Fix "additinal" -> "additional" typo in manpage 2023-09-29 08:22:48 +00:00
pbulk-base pbulk-0.57: switch to a binary heap for the build queue 2023-02-12 21:17:24 +00:00
pkg *: Recursive revbump from devel/libmd 2023-07-03 11:29:03 +00:00
pkg_alternatives
pkg_chk Update pkg_chk to 2.0.12 2023-11-17 17:40:47 +00:00
pkg_comp
pkg_comp-cron
pkg_comp1
pkg_distinst
pkg_filecheck
pkg_install *: allow eupl-v1.2 by default, OSI approved 2024-04-14 09:02:33 +00:00
pkg_install-info
pkg_leaves Reset MAINTAINER 2022-11-09 13:14:06 +00:00
pkg_notify
pkg_online-client Update pkg_online-{server,client} to 0.13.2 2024-05-26 10:18:29 +00:00
pkg_online-server Update pkg_online-{server,client} to 0.13.2 2024-05-26 10:18:29 +00:00
pkg_p5up2date
pkg_regress
pkg_rolling-replace pkgtools/pkg_rolling-replace: Revert unintended change 2024-01-03 12:35:22 +00:00
pkg_select
pkg_summary-utils Update HOMEPAGE 2024-05-17 14:02:26 +00:00
pkg_tarup
pkgchkxx pkgtools/pkgchkxx: Update to 0.2.1 2024-05-26 10:39:42 +00:00
pkgclean
pkgdep
pkgdepgraph
pkgdiff pkgdiff: adding diff to USE_TOOLS had broken gdiff selection. Fix. 2023-11-16 16:29:20 +00:00
pkgfind
pkgin pkgtools/pkgin: Fix header file checks in configure. 2024-05-27 23:27:10 +00:00
pkglint pkgtools/pkglint: update to 23.4.2 2024-05-07 07:24:41 +00:00
pkglint4 Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. 2023-06-06 12:40:15 +00:00
pkgse
pkgsrc-todo
pkgsurvey
pkgtasks
plist-utils plist-utils: fix regex so that plist-sort starts up and sorts 2024-02-07 17:05:24 +00:00
port2pkg
prereq-readme
python-versions-check python-versions-check: add missing space in usage 2024-03-06 13:38:18 +00:00
rc.d-boot rc.d-boot: update to 20240415. Changes for macOS: 2024-04-15 20:25:07 +00:00
rc.subr
rcorder
rdigest
revbump revbump: improve an error message 2024-01-18 10:11:55 +00:00
rpm2pkg
shlock
texlive2pkg texlive2pkg: update to 1.13 2024-03-21 12:02:17 +00:00
url2pkg pkgtools/url2pkg: document PY_TEST_FLAGS to prevent pkglint warning 2024-05-10 06:52:13 +00:00
verifypc
x11-links *: revebump for new brotli option for freetype2 2023-11-12 13:20:31 +00:00
Makefile New package, pkgtools/pkgchkxx. From wip. 2024-01-01 13:39:04 +00:00