pkgsrc/mk
he cc977aac3f With the most recent pkg_install, directories are removed when the
last file in a directory is removed.  This might cause common and
expected-to-be-existing directories in /usr/pkg to be removed, and
a subsequent attempt at installing a file to the now non-existent
directory will instead create a file with the name of the expected
directory.

This will create PLIST errors for the package in question, but also will
cause the erroneously named file to not be removed on package removal.

This can cause cascading bulk build failures for subsequent packages.
To prevent this, after each package is done, check if some of the
common top-level expected-to-be directories are now files, and
remove them and emit an error message if so.

I *think* I already fixed the single package which had the unfortunate
problem of not declaring "include" as an installation directory, but
this should prevent the problem from re-occurring in the future as well.

Thanks to joerg@ for the hint for pulling in the value of PREFIX.
2009-07-09 12:46:49 +00:00
..
build run ${_ULIMIT_CMD} in build-env target 2009-01-10 15:59:29 +00:00
buildlink3 Restore duplication check for _BLNK_PACKAGES that got lost with earlier 2009-03-20 20:10:15 +00:00
bulk With the most recent pkg_install, directories are removed when the 2009-07-09 12:46:49 +00:00
check fix typo in comment 2009-06-18 14:51:55 +00:00
checksum If _CKSUMFILES is empty, also skip checksum logic. Unbreaks meta 2008-05-22 20:47:21 +00:00
cmake-Modules/Platform Update for cmake 2.6 2008-09-13 11:06:08 +00:00
compiler Allow other fortran compilers than f2c to be used when gcc doesn't supply 2009-07-08 21:25:30 +00:00
configure One more variable for show-all-gnu-configure. 2008-11-29 12:29:35 +00:00
defaults Add lang-be which will add Belarusian language support. 2009-07-01 01:39:21 +00:00
depends Change default DEPENDS_TARGET to package-install if USE_DESTDIR != no. 2008-04-04 21:28:51 +00:00
emulator Added some keywords for "make help". 2009-04-04 12:16:45 +00:00
extract Uncompress .xz using xzcat. 2009-07-08 13:27:52 +00:00
features Fix typo. 2008-06-14 08:55:58 +00:00
fetch add missing backslash. 2009-05-23 17:06:24 +00:00
flavor Make sure that _UPDATE_RUNNING=YES is passed down to su-deinstall for 2009-06-17 12:54:57 +00:00
gnu-config Update to versions from April 2009 from 2009-05-18 08:24:26 +00:00
help Re-enabled the detection of variables as they appear in 2009-05-15 21:10:31 +00:00
install Make sure that _UPDATE_RUNNING=YES is passed down to su-deinstall for 2009-06-17 12:54:57 +00:00
internal
misc Documented BUILD_DEFS and BUILD_DEFS_EFFECTS. 2008-11-19 08:06:36 +00:00
package Add support for using USE_DESTDIR=yes and replace together. 2009-06-09 08:40:27 +00:00
patch Replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2009-03-17 21:43:54 +00:00
pbulk Add a marker for bootstrap packages to allow special cases them during 2008-06-19 18:36:51 +00:00
pkginstall Try to work around the mess called useradd on Linux. On Red Hat derived 2009-03-08 19:39:03 +00:00
platform /usr/bin/gcc on MacOS X is a wrapper that expects to call the (architecture- 2009-06-07 11:34:27 +00:00
plist Kill more @dirrm logic. 2009-06-14 23:10:39 +00:00
scripts this script was not visiting packages in the proper order when subpackages 2009-01-05 02:37:05 +00:00
tools Add xzcat as a tool and update lzcat's TOOLS_DEPENDS to avoid conflicts. 2009-07-08 12:51:16 +00:00
wrapper wrap some more gcc flags to suitable xlc flags 2009-06-11 10:38:28 +00:00
alternatives.mk Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
apache.mk
apachever.mk
bdb.buildlink3.mk Simply and speed up buildlink3.mk files and processing. 2009-03-20 19:23:50 +00:00
bsd.fast.prefs.mk
bsd.hacks.mk
bsd.makevars.mk
bsd.options.mk Move show-depends-options target from bsd.options.mk to flavor/pkg/utility.mk 2008-02-18 14:30:40 +00:00
bsd.pkg.barrier.mk Don't require pkg_delete or pkg_info -r to list packages in full 2009-05-16 01:27:30 +00:00
bsd.pkg.clean.mk
bsd.pkg.debug.mk Replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2008-02-07 21:36:13 +00:00
bsd.pkg.error.mk Replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2008-02-07 21:36:13 +00:00
bsd.pkg.mk Accept _AUTOMATIC=yes. 2009-05-26 06:03:02 +00:00
bsd.pkg.readme.mk add a long missing @ in the print-summary-data target that has been causing garbage to appear in the output 2009-06-30 16:11:49 +00:00
bsd.pkg.subdir.mk Remove rules named after subdirectories. Proposed on Oct 08 on tech-pkg 2008-10-14 22:35:19 +00:00
bsd.pkg.update.mk Don't require pkg_delete or pkg_info -r to list packages in full 2009-05-16 01:27:30 +00:00
bsd.pkg.use.mk If we have USE_BSD_MAKEFILE, pass down INSTALL=${TOOLS_INSTALL:Q} in the 2008-05-16 20:00:09 +00:00
bsd.prefs.mk For developer mode, warn about packages without destdir support. 2009-05-23 23:48:44 +00:00
bsd.utils.mk
compiler.mk Add g95 support to the compiler framework, based on the existing f2c 2009-07-08 21:17:16 +00:00
curses.buildlink3.mk Simply and speed up buildlink3.mk files and processing. 2009-03-20 19:23:50 +00:00
curses.builtin.mk + Define BUILTIN_LIBNAME.* unconditionally so that their values can 2008-02-27 15:26:34 +00:00
db1.builtin.mk
dirs.mk kde4-dirs is now in misc. 2008-11-03 10:31:46 +00:00
djbware.mk Honour PKGMANDIR 2008-05-20 19:30:01 +00:00
dlopen.buildlink3.mk Simply and speed up buildlink3.mk files and processing. 2009-03-20 19:23:50 +00:00
dlopen.builtin.mk Simply and speed up buildlink3.mk files and processing. 2009-03-20 19:23:50 +00:00
emacs.mk Move mk/emacs.mk to editors/emacs/modules.mk. 2008-10-11 09:31:54 +00:00
endian.mk Don't use full path to include, avoids 2009-01-14 17:27:37 +00:00
fam.buildlink3.mk gamin isn't ready yet, so switch back to fam 2009-03-17 14:45:19 +00:00
find-prefix.mk Made the code easier to read. 2008-02-10 10:30:58 +00:00
fuse.buildlink3.mk Replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2009-03-17 22:13:36 +00:00
java-env.mk Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
java-vm.mk PR pkg/41542 - java-vm.mk needs updating for openjdk7-bin from yamt 2009-06-05 16:00:47 +00:00
krb5.buildlink3.mk
license.mk Don't call pkg_admin check-license if the version is too old to support 2009-06-29 14:49:57 +00:00
motif.buildlink3.mk MOTIFBASE, not MOTIF_BASE. 2008-09-10 16:40:47 +00:00
mysql.buildlink3.mk Re-add support for mysql-4.1 (but not 4.0). 2008-03-26 13:23:34 +00:00
omf-scrollkeeper.mk Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
oss.buildlink3.mk Simply and speed up buildlink3.mk files and processing. 2009-03-20 19:23:50 +00:00
oss.builtin.mk Replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2009-03-17 22:13:36 +00:00
pam.buildlink3.mk Simply and speed up buildlink3.mk files and processing. 2009-03-20 19:23:50 +00:00
pf.buildlink3.mk Makefile fragment for packages using pf. 2008-06-26 20:58:48 +00:00
pgsql.buildlink3.mk Make PostgreSQL 8.2 the default version. Bump all packages using it. 2008-03-13 17:38:48 +00:00
pkg-build-options.mk Simply and speed up buildlink3.mk files and processing. 2009-03-20 19:23:50 +00:00
pthread.buildlink3.mk Simply and speed up buildlink3.mk files and processing. 2009-03-20 19:23:50 +00:00
pthread.builtin.mk
resolv.buildlink3.mk Simply and speed up buildlink3.mk files and processing. 2009-03-20 19:23:50 +00:00
solaris-pam.builtin.mk
subst.mk
termcap.buildlink3.mk Simply and speed up buildlink3.mk files and processing. 2009-03-20 19:23:50 +00:00
termcap.builtin.mk Simply and speed up buildlink3.mk files and processing. 2009-03-20 19:23:50 +00:00
tex.buildlink3.mk
unprivileged.mk typo 2008-11-27 19:28:01 +00:00
x11.buildlink3.mk
x11.builtin.mk Add a workaround for X11_TYPE modular so that x11.bl3.mk is not included. 2008-10-06 12:58:11 +00:00
x11.version.mk
xaw.buildlink3.mk