The following list describes situations that might require supplying pkgmk(C) with extra information and an explanation of how to do so:
Use the path1=path2 pathname format in your prototype(F) file.
Use the path1=path2 pathname format in your prototype(F) file, with path1 as a relocatable name and path2 a full pathname to that object on your machine.
You can use the -b basedir option to define a pathname that informs pkgmk(C) where to find relocatable object names while creating the package. It does this by prepending basedir to relocatable object names while creating the package. For example, executing the following command looks in the directory /usr2/myhome/reloc for any relocatable object in your package:
pkgmk -d /dev/diskette -b usr2/myhome/reloc
Use the search command in your prototype file to tell pkgmk where to look for objects. (You cannot use the -c option with search, however.)
You can use the param="value" command in your prototype file to give pkgmk a value to use for the object name variables as it creates your package.
Use the variable=value option on the pkgmk command line to define a temporary value for variable names.
Use the -r rootpath option to tell pkgmk to ignore the destination pathnames in the prototype file. Instead, pkgmk prepends rootpath to the source pathnames in order to find objects on your machine.