Commit graph

3339 commits

Author SHA1 Message Date
xtraeme
b98188d70a Add buildlink3 bits. 2004-05-02 20:30:44 +00:00
xtraeme
e1e5944f20 Rename GRUB_ISO9660 and GRUB_UFS2 to GRUB_USE_ISO9660 and GRUB_USE_UFS2
respectively, and document them in bsd.pkg.defaults.mk.
2004-05-02 20:04:36 +00:00
xtraeme
4512659f11 Rename ENABLE_CACHE option to JWHOIS_ENABLE_CACHE, and document it in
the defaults file.
2004-05-02 19:15:18 +00:00
tv
5f543a495d Add an explicit DEPENDS on xpkgwedge-1.10 if USE_X11BASE is defined
(as 1.9 is not good enough).
2004-04-30 19:45:29 +00:00
reed
9e271c2b3d No code change, but just indent two lines. 2004-04-30 04:22:02 +00:00
reed
9fd9f12d2f Use the shell's builtin echo instead of /bin/echo. 2004-04-30 04:16:37 +00:00
jschauma
aa6f4b3b90 On older IRIX systems, /usr/bin/awk is actually less functional than
/usr/bin/nawk.  On newer IRIX systems, the former is a symlink to the
latter.  So just always use nawk.  Pointed out by Georg Schwarz.
2004-04-29 20:07:48 +00:00
dmcmahill
5e1b3f9aca add missing -r option that the usage claimed existed. Noted by garbled@ 2004-04-29 02:23:26 +00:00
uebayasi
9a6b557834 * Bl3ify.
* Enable pkgviews installation.
* Obsolete PRIV_CONF_DIR and follow PKG_SYSCONFDIR, the standard.
2004-04-28 11:27:54 +00:00
tv
b3b780ea83 Add Autoconf overrides that prevent recognition of <poll.h> or poll(2). 2004-04-28 11:11:19 +00:00
tv
19a94159ac Add a new install macro INSTALL_LIB for use when installing libraries
(mainly intended for shlib use, but for homeful use on all libraries so
that currently static libs can be "provisioned" for future shlib use).
2004-04-27 22:35:47 +00:00
dmcmahill
5fdeadb2b4 if we need the devel/flex package and USE_BUILDLINK3 is set, then
pull in devel/flex/buildlink3.mk instead of just listing a BUILD_DEPENDS.
This is needed because flex installs a library.
2004-04-27 21:05:38 +00:00
jlam
a7faf8acc5 Move the inclusion of tools.mk ahead of bsd.buildlink3.mk so that tools.mk
can include buildlink3.mk files.  This change also causes work/.tools/bin
to appear after work/.buildlink/bin in the PATH, but we never relied on
this behaviour, so this side-effect should have no impact.
2004-04-27 19:23:34 +00:00
tv
0830f78ac1 Add ECHO_N to the list of substituted variables in [DE]INSTALL. 2004-04-27 18:31:08 +00:00
agc
d56f4d205d Indent properly. 2004-04-27 14:00:16 +00:00
tv
15fa28b6da Do the same USE_USERADD/USE_GROUPADD fix as done for Interix: use the
construct "DEPENDS+=${USE_USERADD:D${_USER_DEPENDS}}" to ensure that the
conditional is not expanded until after USE_*ADD is actually defined.
2004-04-27 13:43:05 +00:00
tv
3d5851ce2f Add Interix hack: if user and group are the same name, trip up with a
BROKEN message telling the user that they must be different.
2004-04-27 12:06:11 +00:00
tv
2f2a899223 Factor out dependency on "user" package to its own variable. 2004-04-27 12:05:16 +00:00
tv
66e99a7868 It's USE_GROUPADD, not USE_USERGROUP. 2004-04-27 03:30:04 +00:00
tv
e3898f4694 Use ${USE_USERADD:D...} as .if may not catch it in time. 2004-04-27 03:29:09 +00:00
tv
fe3d504d5e Interix now has user(8) emulation; use it. 2004-04-27 01:49:15 +00:00
tv
33e409c3fd Revert mistaken commit. 2004-04-26 17:30:06 +00:00
tv
e80e896df4 PKGDIRMODE must be set *after* including defs.*. 2004-04-26 17:29:33 +00:00
minskim
228608ef83 Define BLNK_RECMETHOD.${_pkg_} not only for full dependency but also
for build dependency.  Also fix a related pasto.  This fixes a
malformed conditional error that occurs when a package in build
dependency has BUILDLINK_RECOMMENDED.*.

OK'ed by jmmv@.
2004-04-26 16:27:36 +00:00
jlam
a44f074ef2 Use a table instead of cascading if..else to dispatch to the correct
buildlink3.mk for inclusion.  Remove reference to BUILDLINK_PREFIX.db2
which doesn't exist (fixed by using the table).
2004-04-26 09:39:38 +00:00
jlam
4416befa38 Allow perl-thread to also be acceptable when USE_PERL5 is defined. 2004-04-26 05:13:06 +00:00
tv
f5324d17bb ROOT_USER is parameterized, so use it in human-readable printed messages
as well.
2004-04-26 03:07:46 +00:00
tv
88a6915436 Make sure PKGDIRMODE is always set in bsd.prefs.mk so it can be checked
in lang/perl58/Makefile.  (It had been set previously only in bsd.pkg.mk.)
2004-04-25 22:42:51 +00:00
minskim
043cd3c2c6 Accept /usr/include/db.h as a valid db-1.85 header file only when
"^\#define.*HASHVERSION.*2$" is found.
2004-04-25 15:06:10 +00:00
tv
fbdc237f69 PERL_REQD = 5.8.3nb1. 2004-04-25 13:52:53 +00:00
jlam
419a7941e9 Don't treat ${BUILDLINK_DIR} like a local directory in the "${WRKSRC} ==
${WRKDIR}" case when converting references to local libtool archives into
the full paths.
2004-04-24 22:04:46 +00:00
minskim
a6b771c787 Create links to .pc files in BUILDLINK_DIR when building a pkgviews
package.  OK'ed by jmmv@.
2004-04-24 15:49:42 +00:00
grant
c5d2708be9 flow.dl.sourceforge.net has been unreachable for a while now, due to
what appears to be a routing loop. comment it out for the moment.
2004-04-24 11:31:57 +00:00
dmcmahill
0436456e1c add a -s | --specific-pkgs option which will set SPECIFIC_PKGS=1 for the
build.  Suggested by Christoph Badura.
2004-04-24 01:22:49 +00:00
reed
9c790735db mk/bsd.pkg.install.mk now automatically registers
the RCD_SCRIPTS rc.d script(s) to the PLIST.

This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.

This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)

These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)

I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.

Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
  hard-coded etc/rc.d. These need to be fixed.
- maybe  remove from mk/${OPSYS}.pkg.dist mtree specifications too.
2004-04-23 22:07:52 +00:00
tv
16fb5e30af Rather than work around an automake braindeadness, parameterize install-sh
so that Interix can set the default mode to 0775.  Then add "install_sh"
to CONFIGURE_ENV so it uses ${INSTALL}, not the package-supplied
install script (as is done for autoconf $INSTALL).
2004-04-23 02:03:18 +00:00
danw
66222702cb add an ${INSTALL_UNSTRIPPED} variable that can be used to block
${_STRIPFLAG_INSTALL}
2004-04-23 01:21:12 +00:00
snj
961fd1293d When substituting the location of a libtool archive, check to make sure
that the new one actually exists.  Fixes PR pkg/25054.
2004-04-22 22:28:19 +00:00
tv
937e7dd858 Automake has done it again with this amazing variable that CONFIGURE_ENV
can't change at configure time.  "mkdir_p" is now used by automake in place
of the traditional autoconf "INSTALL_DIR".  Override mkdir_p in MAKE_FLAGS,
if GNU_CONFIGURE is set, with ${INSTALL_DATA_DIR}.
2004-04-22 17:46:05 +00:00
seb
fb33af30fe Add default value of FLOW_TOOLS_USE_POSTGRESQL for package
net/flow-tools.
2004-04-22 15:58:26 +00:00
tv
f4d5da0755 PKGDIRMODE for Interix is 775 (since umask is 002). 2004-04-22 04:14:27 +00:00
tv
ba4f705dc9 So the patch(1) shipped with Interix is just *slightly* too old: it can't
cope with "new" files (i.e., -0+0 starting line).  Do what AIX does and
make pkgsrc depend on textproc/patch for Interix.
2004-04-22 03:36:30 +00:00
cube
e1aaa019a4 Drop localized *_USE_LDAP definitions and consistently use USE_OPENLDAP
instead.  As announced on tech-pkg.

Most notably affected are Postfix, sendmail, Samba and cyrus-saslauthd.  Be
sure to update your mk.conf accordingly.
2004-04-21 21:09:31 +00:00
tv
14b839318b Fix tyop 2004-04-21 17:08:06 +00:00
jschauma
509e660bfa under Irix, use sysconf to get ARG_MAX. Default on current IRIX
systems is 20480.
2004-04-21 16:30:19 +00:00
tv
c0823fd31e libtool 1.5.2nb7: Another Interix fix, this time removing any usage of
-fpic or -fPIC, as those produce horribly broken code.  Rather, shlibs
are relocated at runtime by the NT loader, and are compiled without any
special PIC option.
2004-04-21 14:55:32 +00:00
tv
a0d94bec79 Define the SERIAL_DEVICE defaults.
Remove "-fpic" and "-fPIC" via BUILDLINK_TRANSFORM globally.
Turn on _USE_GNU_GETTEXT since there is no libintl in the base system.
2004-04-21 14:53:51 +00:00
tv
ba2967bb9a Interix can have up to 262144 args according to libtool's "configure". 2004-04-20 18:43:17 +00:00
uebayasi
07f1456661 Fix "M17N without Unicode". 2004-04-20 14:21:19 +00:00
seb
94bd18b74a Fix pasto. 2004-04-19 23:09:55 +00:00