Commit graph

2710 commits

Author SHA1 Message Date
agc
09c5eb4c93 Make the cvs update work for all shells, not just csh. 2003-12-07 11:43:22 +00:00
cube
8b39758d4f When DIST_SUBDIR is set, make sure various download variables don't get
changed when they're defined but empty.  Although it might sound weird
to have DISTFILES empty and DIST_SUBDIR set, it makes sense for wrapper
packages such as graphics/Mesa.

Fixes PR 23658 from Aaron J. Grier.
2003-12-06 18:47:45 +00:00
jdolecek
7314a7d02c add ftp.cz.NetBSD.org as another MASTER_SITE_BACKUP prior to ftp.netbsd.org 2003-12-05 08:38:15 +00:00
reed
1b646f871d For BSD/OS, get rid of that libtool work-around of
renaming LOWER_OPSYS to match. I will fix ltconfig to work
with "bsdos" too instead.
2003-12-05 05:33:17 +00:00
agc
e54f178502 Whitespace fixes, no functional changes. 2003-12-04 11:17:40 +00:00
veego
5fa7a10bc4 Add IRSSI_USE_SSL?= YES to be used in the coming update of irssi 0.8.8. 2003-12-04 10:28:31 +00:00
grant
82ce6d0efc set _OPSYS_RPATH_NAME=-L, as proposed by danw@ in
<1062867125.27063.26.camel@frotz.local> on tech-pkg.

Darwin has no rpath, but many packages pass "-Wl,${RPATH_NAME}..." to
the linker, breaking the build of these packages on Darwin. using -L
essentially makes these arguments a no-op, and fixes packages which
were solely broken by this.
2003-12-04 06:07:49 +00:00
jschauma
ec521567f8 Congratulations, we've found our first incompatible awk: Irix!
Pointed out by Bas van Oostveen in PR pkg/23514.
2003-12-04 04:33:19 +00:00
xtraeme
2e74689b43 Fix breakage in show-shlib-type introduced in last changes.
Thanks to Jeremy C.Reed and Soren Jacobsen, this also closes PR pkg/23641.
2003-12-03 21:59:00 +00:00
reed
5ac3d68c8d In bsd.prefs.mk, get rid of possible "/" in OPSYS name and define
LOWER_OPSYS for libtool use under BSD/OS.

Add initial support for using pkgsrc under BSD/OS.  This was tested
under BSDI BSD/OS 4.3.1. (Thank you D. Hege.)

(Need to add BSDOS.x11.dist later.)
CVS ----------------------------------------------------------------------
2003-12-03 21:48:33 +00:00
erh
97e8a744ee fake-la also needs @AR@ replaced now. 2003-12-03 18:38:04 +00:00
erh
619cf5c083 Shared libraries on AIX have a ".a" extension. Handle those by either looking
for an existing libtool ".la" library, or looking inside the archive for the
.so file.
Also, fail immediately if passed a library that isn't handled.
2003-12-03 18:37:35 +00:00
erh
12e024f7e7 Add another shlib type "aixlib".
Handle this in do-shlib-handling: turn *.so into *.a.
Pull out the inline awk scripts into variables to make the actual
target a little bit clearer.
2003-12-03 18:31:06 +00:00
erh
b43041a271 Pay attention to the setting of $ROOT_USER when checking whether we're root. 2003-12-03 18:25:05 +00:00
erh
5522ce89d0 If PKGMAKECONF is defined, use it to set MAKECONF instead of "/dev/null". 2003-12-03 18:13:28 +00:00
erh
8a217f07c8 Add initial support for AIX to pkgsrc. Tested with AIX 4.3 2003-12-03 17:57:33 +00:00
sketch
4324dba117 Missing terminating quote. 2003-12-03 17:49:33 +00:00
sketch
fed8dd643d Make sure programs compatible with pkgsrc are used, rather than relying
on the first in path.  Fixes possible issues with Solaris.
2003-12-03 17:13:02 +00:00
grant
da25d8ca48 conditionally set LIBTOOL and SHLIBTOOL, as proposed by Michal
Pasternak on tech-pkg.

[first commit after pkgsrc meltdown ;)]
2003-12-02 23:08:24 +00:00
hubertf
472520bfe8 Catch if the user given to "su" is bogus/non-existing, but if
the "cvs" command inside the su returns an error, that should be ignored.
(Aparently cvs returns "1" even if it's done a successful update but if
there were some files removed on purpose).
2003-11-28 22:46:48 +00:00
taya
192cab73c6 update directory structure of ftp.mozilla.org in MASTER_SITE_MOZILLA 2003-11-27 13:02:38 +00:00
jlam
29055be6b7 Do as buildlink2 and _append_ extra flags instead of prepending them.
Prepending caused everything in ${BUILDLINK_DIR} to be found first, which
was bad when you built something like MesaLib where the X11R6 headers
conflict with the ones provided in the source.
2003-11-26 12:52:30 +00:00
jlam
087d9e1669 If we're linking a shared library by "cc -shared -o /srcdir/shlib", we
need to protect the full path after "-o" from being transformed from
"/srcdir/shlib" to "-L/srcdir -lshlib".  This fixes building
graphics/freetype2, which uses lots of full paths to sources and objects.
2003-11-25 14:44:39 +00:00
jlam
35657e5e7f libtool.sh should also supply a definition for "$expr", used by the
buffer script.
2003-11-25 14:43:23 +00:00
jlam
8c6a703c0b Don't write conflicts into the binary packages unless they're "overwrite"
packages.  All pkgviews packages are safe to install into the same tree,
and we rely on more dynamic file collision detection through linkfarm(1)
rather than just using CONFLICTS.
2003-11-25 12:01:31 +00:00
jlam
c3a1661459 Support buildlink3. 2003-11-25 11:42:09 +00:00
jlam
b0727d41d2 Make the value of VIEWBASE available in more settings. 2003-11-23 07:31:18 +00:00
jlam
62fd86d085 In the overwrite package case:
* Ensure that VIEW-INSTALL is called after _all_ POST-INSTALL actions
     (including any in the INSTALL_EXTRA_TMPL file) by moving the call to
     a file that is included after all other INSTALL templates.

   * Ensure that VIEW-DEINSTALL is called before _all_ DEINSTALL actions
     (including any in the DEINSTALL_EXTRA_TMPL file) by moving the call to
     a file that is included before all other DEINSTALL templates.
2003-11-23 07:14:43 +00:00
jlam
546d3e35e4 Add some whitespace. 2003-11-23 07:03:07 +00:00
jlam
f2379fe5a0 Don't be fooled into thinking that the "-c" in "install -c" means to
interpret the libtool mode as "compile".
2003-11-23 06:06:02 +00:00
jlam
854f85f7f9 Add public variables EXTRACT_CMD_OPTS.{zip,lha,lhz,zoo} that may be set in
package Makefiles to customize the options passed to the extraction
commands when the defaults don't suffice.  Patch from Michal Pasternak with
additions by me.
2003-11-22 23:47:47 +00:00
jlam
9cc646256d Back out part of rev. 1.20: rc.d scripts aren't really view files. 2003-11-21 10:54:14 +00:00
jlam
9eaf96b23a Back out part of rev. 1.24: we don't need to add config files to the view
if only rc.d scripts are present.  rc.d scripts always live in ${PREFIX}
regardless of the setting for ${PKG_SYSCONFBASE}.
2003-11-21 10:32:25 +00:00
grant
ca400a8282 apache6 has no buildlink2.mk as it is handled automagically by
apache/buildlink2.mk, so include that instead.

makes this actually work with apache6.
2003-11-21 07:04:43 +00:00
grant
c78963b8b5 don't build HTML man pages. 2003-11-21 00:14:00 +00:00
cube
680b0aaaaa Forgot a \ to make line continue. Sorry for breakage. 2003-11-20 16:59:02 +00:00
cube
f02636860d When there is no distinfo file, do not apply patches we would not
normally apply: treat them as if the distinfo file was empty.

This solves the reason why pkgtools/pkg_install/distinfo was resurrected,
and allows us to remove it again, since it had the side effect of
introducing a dependency on digest, which is not acceptable when updating
pkg_install: it made it impossible to use the pkgsrc tree, as reported
by several people.
2003-11-20 15:07:53 +00:00
hubertf
8d6cbb6f70 Catch errors from pre-build, and abort if it's not 0. 2003-11-20 00:04:12 +00:00
hubertf
6c4ff55ea4 Catch error from su, and report it to the calling script (pkgsrc/mk/build) 2003-11-20 00:02:59 +00:00
agc
bfd8042a08 After some discussion, default BSDSRCDIR to /usr/src if it's not
already set in /etc/mk.conf, and default BSDXSRCDIR to /usr/xsrc if
it's not already set in /etc/mk.conf.
2003-11-12 17:24:38 +00:00
grant
6b5bf9ca71 backout previous, it is no longer needed. 2003-11-12 13:13:43 +00:00
agc
23ec0f4203 Add explanations (and commented-out defaults) for BSDSRCDIR and BSDXSRCDIR. 2003-11-11 14:32:06 +00:00
danw
0cb5c0e13f add LIBXAW to FIX_RPATH 2003-11-11 00:48:44 +00:00
dmcmahill
1971dd4108 add USE_TETEX2 configuration variable and modify dvipdfm to use this
to allow it to work with teTeX2 or teTeX instead of requiring only
teTeX (1).
2003-11-07 13:55:02 +00:00
wiz
4bb8270747 Depend on pkgtools-20030918 again; http support is not really a requirement. 2003-11-02 14:36:46 +00:00
grant
0623c2ac77 implement the change in rev. 1.1296 (which was backed out in rev.
1.1298) properly by using single quotes instead of double quotes
around the PKGNAME_REQD value, ensuring that the shell does not
interpret the > character as a redirect.

confirmed that no "=1.0.43" files are created on NetBSD and
Linux when a pre-requisite package has a wildcarded version
number eg. ">=1.0.43", and that the original problem is fixed.
2003-10-30 12:36:01 +00:00
wiz
30e14c5453 Bump PKGTOOLS_REQD to 20031003, per a suggestion from agc. 2003-10-30 10:32:45 +00:00
agc
162529e660 Revert the change in 1.1296 which was causing problems on NetBSD when
installing a pre-requisite package with a wildcarded (e.g. '>=1.0.43')
version number.  The problem manifested itself by creating a file
called '=1.0.43' in the pre-requisite package's directory, and a
coupld of "dc: stack empty" spurious messages appeared.

If this needs to be fixed by an OS-dependent variable, we'll address
that in the future.
2003-10-30 07:42:23 +00:00
grant
bedd85d206 don't build HTML man pages. 2003-10-26 00:07:31 +00:00
cube
c803330a12 Remove '-' from the version part of _GCC_IN_USE so that pkg_admin can deal
with the installed gcc when it has a localized version (such as our
gcc-3.3.2-nb1).
2003-10-24 12:07:14 +00:00