Subject: README: MD/MI package PLIST files
To: None <packages@NetBSD.ORG, current-users@NetBSD.ORG>
From: Hubert Feyrer <>
List: current-users
Date: 11/22/1997 05:35:32
I've just committed a fix to to not only look at pkg/PLIST and
stop if it doesn't exist, but to also look for pkg/PLIST-mi, and
pkg/PLIST-md.shared or pkg/PLIST-md.static. 

PLIST-mi contains machine independent files, PLIST-md.* contain machine
dependent files, which may differ between architectures that don't support
dynamic libs/shared loading. Currently, this is only used in the
perl-packages, and as perl5 on alpha doesn't support dynamic loading of
extensions like perl/Tk yet, PLIST.mi-static is also used on the alpha
(besides pmax and powerpc). Alpha will hopefully be removed soon when
perl's fixed for dynamic loading.

One gotcha regarding the ordering of @dirrm statements: and MI @dirrm
directives that follow any MD @dirrm's *must* go into the*
files, as the files PLIST-mi and{shared/static} are concatenated
in exactly this order. If the MI directory would be listed in PLIST-mi, it
would be removed before the MD directory, which wouldn't work.

E.g. if you have the following dirs:

then PLIST-mi contains:

and PLIST-md.* contains:
	@dirrm foo/mi/md
	@dirrm foo/mi

This is on the trunk now, and I hope to pull it up for 1.3 eventually
(i.e. after some days of people testing this 8-). In case of problems,
feel free to send-pr.

 - Hubert

Hubert Feyrer <>