rillig
06363de332
Cleaned up the code that parses the CONF_FILES etc. Now it is possible
...
again to have users and groups called "__dummy".
2005-08-23 08:58:20 +00:00
rillig
77246172ce
Cleaned up the code for creating .install_files. Now only shell
...
constructs are used that are understood by the Solaris /bin/sh, too.
2005-08-23 08:54:29 +00:00
reed
17c4d72e54
Do not attempt to modify /etc/shells as a regular user.
...
Also set PKG_CREATE_USERGROUP with = instead of ?=.
2005-08-22 17:13:28 +00:00
rillig
6158929acb
I forgot to add the trailing slash when stripping ${PREFIX} from pathnames.
2005-08-22 08:07:38 +00:00
rillig
bce7c2b832
... and corrected a bug I had overseen. I had only tested that the function
...
works, not that it works in its environment.
2005-08-21 22:29:45 +00:00
rillig
e55825d282
Simplified the strip_prefix function. Tested with /usr/bin/awk on Solaris,
...
nawk and gawk.
2005-08-21 22:27:09 +00:00
rillig
57994895c2
Changed the comment for SUBST_STAGE to be more complete. Started the other
...
sentences with an uppercase letter. No code changes.
2005-08-21 22:00:07 +00:00
rillig
9c2ed58976
Cleaned up the code that checks which tools are needed for extraction.
2005-08-21 07:29:48 +00:00
grant
7b498027a9
preserve -Qoption arg if the 2nd next arg isn't -R.
2005-08-21 02:39:52 +00:00
jlam
cf4dfe44a5
Use REQD_DIRS instead of MAKE_DIRS for directories under ${PREFIX} so
...
that these directories will be conditionally removed (based on reference
counts), regardless of the value of PKG_CONFIG. Bump the PKGREVISION
for packages that were modified as a result.
2005-08-20 19:16:21 +00:00
grant
7bdc3361fc
strip leading "-Qoption ld" from -R args for sunpro C++ compiler, to
...
avoid duplicate "-Qoption ld" args when the -R args is later stripped.
thanks to jlam@ for the hint.
2005-08-20 14:37:53 +00:00
jlam
72cee106a2
Don't skip files that are under REQD_DIRS directories, as those are
...
typically under ${PREFIX}.
2005-08-20 02:45:05 +00:00
jlam
8463361cf4
Add a guideline for what should be listed in REQD_* variables -- they
...
should be files or directories under ${PREFIX}.
2005-08-20 02:22:02 +00:00
grant
fff581f880
add -xnolibmopt after -fast to disable the use of libsunmath (until it
...
can be sanely statically linked).
2005-08-20 02:11:15 +00:00
jlam
6fe2d57173
The various bsd.pkginstall.mk variables can be paths relative to
...
${PREFIX}, so prepend the words with ${PREFIX} in that case when
setting CHECK_FILES_SKIP.
2005-08-20 02:09:04 +00:00
jlam
66030afca0
Define new variables for package Makefile use:
...
REQD_FILES, REQD_FILES_PERMS, REQD_FILES_MODE
REQD_DIRS, REQD_DIRS_PERMS
These are the same as the CONF_* variables, except the files and
directories listed in REQD_* are always copied over, created or removed
(taking into account if there are user modifications from the originals,
etc.) regardless of the value of PKG_CONFIG.
The implementation involved pushing the knowledge of PKG_CONFIG,
PKG_RCD_SCRIPTS, PKG_CREATE_USERGROUP, and PKG_REGISTER_SHELLS into
the individual helper scripts. The helper scripts are now always
invoked by the +INSTALL and +DEINSTALL scripts. The +DIRS and +FILES
script have been enhanced to understand a new "f" flag that means
"force" to ignore the value of PKG_CONFIG and PKG_RCD_SCRIPTS.
Lastly, the +FILES script has been taught a new "r" flag just for rc.d
scripts and the +RCD_SCRIPTS script is now unnecessary.
2005-08-19 22:24:09 +00:00
jlam
6b5e1a1b43
perllocal.pod is like info/dir... we don't care if it's created or
...
removed by any package.
2005-08-19 22:07:46 +00:00
jmmv
4f121c6357
Add the 'ug' locale, initially used by gnome-themes 2.10.1 (AFAICT).
2005-08-19 21:47:51 +00:00
jlam
bd2788d930
Merge CONF_FILES/SUPPORT_FILES and CONF_FILES_PERMS/SUPPORT_FILES_PERMS
...
as the INSTALL and DEINSTALL scripts no longer distinguish between
the two types of files. Drop SUPPORT_FILES{,_PERMS} and modify the
packages in pkgsrc accordingly.
2005-08-19 18:12:36 +00:00
jlam
9fd655b06c
Rewrite sub-script targets so be less susceptible to "make variable
...
overflow" by splitting up the huge "one-liner" scriptlets into smaller,
individually executable bits.
2005-08-19 17:20:33 +00:00
jmmv
7709491e7e
Add the 'te' locale, initially used by gnome-desktop-2.10.2 (AFAICT).
2005-08-19 17:04:47 +00:00
schmonz
a527ce3465
Skip the configure stage if NO_CONFIGURE is defined (useful for
...
djbware without conf-* files).
2005-08-19 13:47:26 +00:00
schmonz
16f2d72474
Add and define djbfft options.
2005-08-19 05:08:01 +00:00
schmonz
07fa8b9536
Convert DJB_ERRNO_HACK to a "djbware-errno-hack" option available
...
in all packages using djbware.mk. For now, keep the same default,
avoiding PKGREVISION bumps.
2005-08-19 04:44:09 +00:00
jlam
f1e3e67038
INSTALLATION_DIRS implies NO_MTREE: If a package sets INSTALLATION_DIRS,
...
then it's known to pre-create all of the directories that it needs at
install-time, so we don't need mtree to do it for us.
2005-08-18 19:24:15 +00:00
grant
9f4fe6c27d
pass through -f flags that sunpro understands verbatim, drop other -f*
...
flags.
2005-08-18 05:04:49 +00:00
grant
0744c46196
drop -Wl,--export-dynamic, as Solaris ld(1) default behaviour is to
...
export all dynamic symbols.
2005-08-18 05:02:53 +00:00
dillo
c8597fd2b5
Don't add inet6 to PKG_DEFAULT_OPTIONS, it is a user settable
...
variable. mk/defaults/obsolete.mk takes care of converting USE_INET6
to inet6 option. Bug noted by schmonz.
2005-08-16 19:55:38 +00:00
jlam
151a84db64
Turn the location of the *.pc files in which the pkg-config wrapper will
...
look into a private variable _PKG_CONFIG_LIBDIR. This variable should
*NOT* be settable by the user.
2005-08-16 13:32:00 +00:00
schmonz
0fec27d312
Add some to-do items.
2005-08-15 19:44:13 +00:00
jlam
9dcc7aa6ed
Fix an annoying whitespace issue for 80 character-width displays.
2005-08-15 17:35:45 +00:00
jlam
33881f95e2
Alter the check-files target for ${PREFIX} to check for if files are
...
in ${PREFIX} but are not in the PLIST and also if files are in the
PLIST but not in ${PREFIX}. We now flag both types of PLIST problems
as errors.
2005-08-15 17:33:31 +00:00
jlam
df250dd229
Minor nit... use ${.TARGET} instead of specifying the file name again
...
within a target.
2005-08-15 14:19:37 +00:00
rillig
60e46baa8e
In print-pkg-size-this, initialize s before summing up all file sizes. This
...
results in "0" being printed for empty packages, which had been "" before.
Fixes PR 30955.
2005-08-15 13:05:18 +00:00
rillig
6f9f44642c
Reordered the conditions of checking for .tar files in DISTFILES to improve
...
readability.
2005-08-15 12:57:07 +00:00
rillig
fee89c334d
Reverted the change from revision 1.1710, which sorted all DEPENDS and
...
BUILD_DEPENDS alphabetically. Some packages depend on the
first-come-first-serve order.
2005-08-14 19:52:26 +00:00
kristerw
493773dd73
The check-files-post need to be done before post-install-script,
...
to prevent errors from pacakes using e.g. CONF_FILES.
2005-08-14 17:26:13 +00:00
dillo
f955669449
Convert sun-jre14 and sun-jre15 to use the options framework.
2005-08-13 11:25:14 +00:00
grant
6cd103ed89
transform -Wl,-soname to -h for sunpro
2005-08-13 06:37:18 +00:00
jlam
4a315577b1
Don't use the same inclusion guard as fam/buildlink3.mk. "Duh."
2005-08-12 15:33:15 +00:00
cube
38e162ab6a
Change the order of libraries looked for, and start with libdb1 instead of
...
libdb. A (obviously braindead) system might ship with a correct libdb1 and
a frivolous libdb. I'm speaking of RedHat, of course.
But anyway, it makes more sense, libdb1 just can't be anything but a db1
library.
OK'd by jlam@.
2005-08-11 20:25:20 +00:00
jlam
22dd66aade
Add a buildlink3.mk file that will choose between the two FAM
...
implementations -- SGI FAM and GNOME gamin.
2005-08-10 21:10:54 +00:00
jlam
7820875fff
Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
...
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables. Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.
For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00
kristerw
7af58065d9
Move the check-files-post check so that it is done after the automatic
...
manual page handling. This prevents the check from reporting errors
for manpages that are (un)compressed by the automatic manual page handling.
2005-08-10 18:21:07 +00:00
jlam
35be7aab3b
If we need imake, then also pull in any other tools that imake needs to
...
work.
2005-08-10 16:28:59 +00:00
jlam
1a4f92a3d5
Fix a cut-and-paste bug.
2005-08-10 06:08:48 +00:00
jlam
3bb5f20078
No version of FreeBSD has /usr/bin/shlock.
2005-08-10 02:57:32 +00:00
xtraeme
a386e5f916
Set TOOLS_PLATFORM.shlock only if exists the binary on /usr/bin,
...
reported by Lars Nordlund via tech-pkg@.
2005-08-08 21:43:35 +00:00
veego
51a055db51
Restore the @(..)s which were removed in rev 1.1706.
...
They are needed in the fetch-list case to prevent outputting anything if
the distfile is allready in $DISTDIR.
2005-08-08 15:38:19 +00:00
wiz
c986248950
Remove variable which is not needed any longer after wxGTK update.
2005-08-07 16:37:11 +00:00