Age | Commit message (Collapse) | Author | Files | Lines |
|
include making mkdtemp() return the correct values on systems that use
libnbcompat's mkdtemp. Fix by jschauma@netbsd.org.
|
|
include only building __fts13.o into libnbcompat.a if the fts_*()
functions aren't present in the system.
|
|
|
|
* Check for errors in reading from the file descriptor for the ftp
process, and correct the error messages.
* Nuke some code for older NetBSDs that's better handled in
pkgtools/libnbcompat.
* Don't prevent user from using views other than the default view.
|
|
|
|
|
|
* Properly declare statfs() and fstatfs() if we use the libnbcompat
versions.
* Move some headers into a private directory in the installed
location so that they don't override headers of the same name
on the system.
* Define TAILQ_HEAD_INITIALIZER if it doesn't exist.
* Add a poll() implementation using select() for poll()-less systems.
Thanks for Charles Blundell for the implementation!
* Fix the vis.h check for systems whose vis() is not as featureful
as NetBSD's.
|
|
Solaris and Linux.
|
|
are moving the definitions of the TAILQ accessor methods into the top level
of nbcompat.h. This should fix using nbcompat.h to replace sys/queue.h
on Linux systems.
|
|
|
|
XXX This should really be done in a different way than installing some
XXX globally-accessible header called "extern.h".
|
|
* Don't install namespace.h, extern.h and stat_flags.h, which are
only used internally.
* Clean up util.h by using '#if !HAVE_xxx' instead of
'#ifndef !HAVE_xxx', removing some LIST_* definitions that are
defined by <nbcompat.h>, and removing static declarations.
* If fparseln is in libutil (as it is in NetBSD), then don't build
it into libnbcompat.a.
|
|
-DHAVE_xxx=0 is set on the command-line.
|
|
no need to require the text utilities.
|
|
|
|
options to find the headers and libnbcompat.
|
|
link against libnbcompat.
|
|
|
|
|
|
|
|
optimizations and man page fixes. Also use recent src2nbcompat to reverse
the order that "config.h" and <nbcompat.h> are included in *.[ch] files.
|
|
modulo $NetBSD$ tag differences.
|
|
since the latter has all sorts of checks to make sure we don't stomp on
any macros defined in config.h, but the reverse isn't true.
|
|
to build. I'm bumping the version number just in case the installed
package is different from version 0.12 (I can't test on different
systems).
|
|
|
|
|
|
otherwise we can trust statfs() if it's on the system.
|
|
on systems that don't have either function.
|
|
|
|
|
|
|
|
package views. Pkgsrc changes include:
* Convert to use pkgtools/libnbcompat so that it's easier to keep
this in sync with src/usr.sbin/pkg_install.
* Add a src2nbcompat script that converts src/usr.sbin/pkg_install
into an appropriate start for pkgtools/pkg_install. The script
removes the Makefiles, adds CPP inclusion guards around each
#include <...> line, and includes <nbcompat.h> at the top of each
*.c file. This should make it even easier to keep sources in
sync with the HEAD.
|
|
* Add mkdtemp, TAILQ_*, and statfs.
* Install a nbconfig.h file containing the discovered system information
and include it directly in nbcompat.h. Make all files use nbconfig.h
instead of config.h. Ensure that all installed headers don't include
any local header files. This makes libnbcompat more self-contained.
* Consistently use "#if HAVE_HEADER_H" instead of "#ifdef HAVE_HEADER_H"
since sometimes people put -DHAVE_HEADER_H=0 on their command lines.
|
|
|
|
or run mtree. Also ensure that we call the pkg_install commands with no
options so that we install properly without recent pkg_install tools.
|
|
we want it to be.
|
|
don't use any options/flags not supported by pkg_admin that may be a part
of ${PKG_ADMIN}.
|
|
|
|
${OPSYS} == "NetBSD".
|
|
|
|
USE_PKGINSTALL is "YES". bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
|
|
- Introduce two new variables, MOUNT_SCRIPT and UMOUNT_SCRIPT, that let the
user specify a script file run after mounting known filesystems and before
unmounting them, respectively. Patch by seb@, thanks!
|
|
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
|
|
* Use bsd.pkg.install.mk instead of supplying custom INSTALL/DEINSTALL
scripts.
* Note that this package doesn't really use buildlink.
* Remove ancient BUILDLINK_DEPENDS= line at the bottom of the file that
we no longer need since the buildlink1 days of yore.
|
|
|
|
pkgsrc/some/dir
|
|
NetBSD's source files.
|
|
on tech-pkg@ at various times. This means that regardless of what kind of
GL support comes with X11, if a package depends on GL, Mesa 5.0.1 (or higher)
will be installed into ${LOCALBASE}.
Some troubleshooting after the latest patches by Krister Walfridsson.
|
|
Pkgvi fix: deal with pathnames like `dir-with.a-dot/file-without-dot'
for which the temporary file pathname hold in $tmp ended up as
`dir-with.a-dot/file-without-dot.$$.a-dot/file-without-dot'.
|
|
|