Commit graph

630 commits

Author SHA1 Message Date
hubertf
8472ad0a54 Add libtool in 'make fetch-list' output. Suggested by Klaus Heinz. 2000-12-19 02:32:22 +00:00
david
678a50db46 Add authoritative CPAN ftp site as a last resort in case packages have
not yet propagated to mirror sites. Closes PR pkg/11591 from Damon Brodie
2000-12-12 01:04:16 +00:00
wiz
8184259f54 REQ is no more, its place is taken by INSTALL & friends. 2000-12-08 10:17:36 +00:00
abs
90f1a1dea4 Enable 'PATCH_FUZZ_FACTOR?= -F0' by default, rather than just iff PKG_DEVELOPER 2000-12-06 16:29:16 +00:00
hubertf
a6d56be771 hush 2000-11-29 14:52:57 +00:00
hubertf
e601de8245 Quick close this can of worms again.
The ${PLIST} target must run after all the pre/do/post-install targets
were run (they may generate ${PLIST_SRC}!).

This whole code-path should use the make dependency system, not fork
make(1) over and over again.
2000-11-29 14:44:12 +00:00
hubertf
ef6d79f2dd * Rename some targets to fit into the usual "do-XXX calls real-XXX" scheme
* In real-su-install, do not call "make ${PLIST}" manually, but rather depend
   on the ${PLIST} file being there for the do-su-install target.
 * Break out shlib-handlink from real-su-install, and put it into target
   do-shlib-handling, which will either touch then PLIST (when called via
   the ${PLIST} target) or do the necessary steps to setup shared library
   handling (creating symlinks on ELF, running ldconfig on a.out, etc.,
   when called via real-su-install)
 * Removed some unnecessary tests (check if $PLIST is there when it
   can be assumed to be there, ...)
2000-11-29 13:18:22 +00:00
tron
91f4a994f8 Explicitly set "IS_BUILTIN_XPM" to "0" if the "xpm" library is not
installed because the "xpm" package will refuse to be built otherwise.
2000-11-29 12:40:55 +00:00
hubertf
5970f2e303 One "^" too much in last commit. 2000-11-29 11:39:25 +00:00
wiz
bf4a3f24eb Fix print-PLIST target (broken in 1.619). 2000-11-29 01:21:21 +00:00
hubertf
6ef7e0ffd6 * Make sure PKGPATH gets added to BUILD_DEFS (I thought it was there for a
long time. Oh well.)
 * Only replace the value of PATH for "PATH", not any variable whose name
   starts with PATH (like PKGPATH :-)

Hinted by Jason R. Mastaler <jason@mastaler.com> on tech-pkg.
2000-11-27 22:24:49 +00:00
tron
8e7d4f77b2 Don't remove package list entries ending on ".so" on ELF systems any more.
With "libtool-1.3.5nb9" or newer shared objects are named like that.
2000-11-27 15:57:43 +00:00
mycroft
528407f9bb Bump libfool version. 2000-11-26 21:12:54 +00:00
tron
15956d6339 Update "libtool" version number after recent changes by Charles M. Hannum. 2000-11-26 20:38:53 +00:00
tron
983f324c0a Partially back out revision 1.612 because it causes endless loops in
dependency checks if the "xpm" package is not installed.
2000-11-24 23:28:30 +00:00
hubertf
01aeef90ab fake-pkg:
* print registered dependencies only once - no functional change.
 * some whitespace changes
2000-11-22 10:40:21 +00:00
hubertf
f99369acf6 Fix NEED_NCURSES handling:
Let's take timidity, which needs ncurses and tk. By setting
NEED_NCURSES=1 and adding it to MAKEFLAGS, all other required pkgs
automagically depend on ncurses - tk, tcl (which is slurped in by
tk), ...
2000-11-21 00:16:43 +00:00
tron
5926d47d3d Rename ""__BUILTIN_XPM" to "IS_BUILTIN_XPM" and add it to "MAKEFLAGS" to
avoid expensive evaluation in recursive "make" calls as suggested by
Hubert Feyrer.
2000-11-20 09:33:39 +00:00
tron
28b6f82d2d Prevent an attempt to build the "xpm" package on a system with XFree86 4.0
or newer installed because it includes this library.
2000-11-20 09:02:25 +00:00
tron
af7722a80f Remove unnecessary whitespace in shell command. 2000-11-20 08:33:42 +00:00
hubertf
becf63b237 print-PLIST:
enclose s/// commands in single quotes, and protect '.' in OS_VERSION,
so that "135" does NOT get replaced by "${OS_VERSION}".

Detected in kdetoys-2.0
2000-11-18 21:55:28 +00:00
hubertf
7c6c6d304f Fix print-pkg-size-depends:
I now remember why I felt there was something wrong with the fix in PR
11433: it calls some target with PACKAGE_DEPENDS_WITH_PATTERNS=false, and
this will cause problems when someone has a different version installed
than what's currently in pkgsrc.

This was also what the XXX was for that I couldn't remember - all
dependencies were found installed at the time that the
print-pkg-size-depends target gets called, and as such we can call
run-depends list with the PACKAGE_DEPENDS_QUICK switch (to first print our
direct dependencies, and then look at their @pkgdep lines to get all their
depends - no need for recursion, as well store all a pkg's depends in it's
@pkgdep lines!). Using that, we can call "pkg_info -e" on all the patterns
to expand them to match what's really installed on the system, then make
that list unique (so that e.g. foo-1.0 and foo-* gets to the same pkg
twice, and then sorted out). After that we can calculate it's size as
before using "pkg-info -s".

Using this method is also a whole lot faster (due to no recursion).
2000-11-18 21:53:31 +00:00
tv
36e46ee02a Change multidepends for USE_JAVA software to use sun-jre,jdk instead of
blackdown-jre,jdk.
2000-11-18 01:03:33 +00:00
skrll
9ad61bf074 Bump libtool version for mycroft's changes to a.out library dependencies.
make check will fail on a.out platforms due to lib/10940.
2000-11-17 09:58:49 +00:00
hubertf
18a63152a7 Change the output of the 'install-depends' target so it fits
in 80 columns:


before:
===> mozilla-0.m18nb1 depends on installed package: gtk+>=1.2.8 - gtk+-1.2.8 found
===> mozilla-0.m18nb1 depends on installed package: ORBit>=0.5.1 - ORBit-0.5.3nb1 found
===> mozilla-0.m18nb1 depends on installed package: jpeg-6b - jpeg-6b found
===> mozilla-0.m18nb1 depends on installed package: png>=1.0.6 - png-1.0.8 found
===> mozilla-0.m18nb1 depends on file: /usr/pkg/bin/perl - found
===> mozilla-0.m18nb1 depends on executable: autoconf - /usr/pkg/bin/autoconf found
===> mozilla-0.m18nb1 depends on executable: zip - /usr/pkg/bin/zip found
===> mozilla-0.m18nb1 depends on executable: gmake - /usr/pkg/bin/gmake found

after:
===> Required installed package gtk+>=1.2.8: gtk+-1.2.8 found
===> Required installed package ORBit>=0.5.1: ORBit-0.5.3nb1 found
===> Required installed package jpeg-6b: jpeg-6b found
===> Required installed package png>=1.0.6: png-1.0.8 found
===> Required file /usr/pkg/bin/perl: found
===> Required executable autoconf: /usr/pkg/bin/autoconf found
===> Required executable zip: /usr/pkg/bin/zip found
===> Required executable gmake: /usr/pkg/bin/gmake found
2000-11-16 05:36:01 +00:00
fredb
e00213a7ca In the .SizeAll calculation, allow PKG_INFO to be a command with prefixed
environment variables, which it is by default. (Oops.)
2000-11-12 17:11:03 +00:00
tron
0bf6e40473 Add new "check" target which invokes "pkg_admin check" for the current
package.
2000-11-12 15:20:06 +00:00
fredb
fef36d5443 Calculate the .SizeAll information for pkg_info -S correctly.
Closes PR pkg/11433.
2000-11-12 02:46:53 +00:00
hubertf
cad2a20afa Stopgag fix to force people to unset PKG_PATH before doing pkgsrc
works (at least until we handle this more sane).
2000-11-11 19:13:41 +00:00
tron
9e71b8c25e The GNOME mirror on "ftp.informatik.uni-bonn.de" is working again. 2000-11-11 17:55:44 +00:00
tron
25a7dd8451 Add new master site list "MASTER_SITE_SOURCEFORGE" for
"download.sourceforge.net" and mirror sites.
2000-11-11 14:46:57 +00:00
hubertf
9020a8d498 Change substitution of %%PKG%% so it's expanded to ${PKGNAME} directly, not
via a tmp file. Also, there's no need to excape any possible HTML chars
(there won't be any in a PKGNAME).

Noted in PR 11462 by Jeremy C. Reed <reed@reedmedia.net>
2000-11-09 23:46:29 +00:00
itojun
3e7c6f02b8 USE_LIBINTL: workaround brokenness in gettext.m4 (configure.in fragment
ships with GNU gettext).
2000-11-09 14:02:46 +00:00
mjl
575d15100e Add -lXp to MOTIFLIB, needed by openmotif. 2000-11-02 12:17:03 +00:00
wiz
7382d63dd0 Move USE_NCURSES stuff from bsd.pkg.mk to bsd.prefs.mk.
Do executable bit testing in bsd.pkg.mk, REPLACE_NCURSES, slightly
different.
2000-11-02 03:01:40 +00:00
skrll
4cfb543114 Add CXX and CXXFLAGS definitions in HAS_CONFIGURE case.
Remove ac_cv_path_* stuff as this should be dealt with in the configure.

[Doing this from a KDE2 desktop!!!]
2000-11-01 09:06:22 +00:00
itojun
08cc65a9e2 declare USE_LIBINTL. 2000-10-31 17:20:07 +00:00
hubertf
fa21f27b18 Remove an unbalanced trailing ')'
Change reviewed by Thomas Klausner; see also PR 11317.

Mmm, doing pkgsrc work on Solaris :-)
2000-10-26 16:09:54 +00:00
jlam
e2ac9634c2 Update xpkgwedge to 1.0 and make appropriate changes to bsd.pkg.mk to handle
the new version of xpkgwedge.  Changes from xpkgwedge 0.4:

	* Redefine ImakeCmd to "imake -I$(PREFIX)/lib/X11/config" to
	  pick up X11 config files in $(PREFIX)/lib/X11/config before the
	  ones in the standard X11 tree.

	* Install a program called "pkgxmkmf" that's actually xmkmf, but
	  checks in $(PREFIX)/lib/X11/config before the standard X11 config
	  directory.

	* Create the host.def file in $(PREFIX)/lib/X11/config instead of
	  always in ${X11BASE}/lib/X11/config.

The benefits of this are:

	1) xpkgwedge can now install into $(PREFIX) instead of always into
	   $(X11BASE).

	2) Keeps the X11 tree "pure", and doesn't affect people who want
	   to run xmkmf and not include all the xpkgwedge stuff, even if
	   it's installed.

	3) Packages that install config files (lesstif, xview-config) can
	   now do so in $(PREFIX).

	4) People only have to use 'pkgxmkmf' instead of 'xmkmf', and
	   (hopefully) no other changes, if they want to use the config
	   files in xpkgwedge'd packages.
2000-10-23 17:32:06 +00:00
fredb
19129d3f98 Make target "mps" __identical__ __to__ target "makepatchsum", and not
simply depending on it.
2000-10-22 14:05:24 +00:00
rh
e35787cf4c Use UPDATE_TARGET (new) instead of DEPENDS_TARGET for 'make update'. This
allows the user to set DEPENDS_TARGET=update, which will now automatically
update all outdated prerequisite packages.
2000-10-22 08:22:24 +00:00
jlam
faa90cdf97 Make print-PLIST output the install-info lines only when it finds
files ending in ".info", not for any file that ends in "info".
2000-10-19 02:30:05 +00:00
jlam
dac890c7cd Quiet perl invocations in bsd.pkg.mk when the locale isn't properly set in
the environment.
2000-10-17 23:56:19 +00:00
tv
02fdf8c9ef Change DEPENDS for PKG_JAVA=jdk compiled packages such that both the native
jdk 1.1.8 and the blackdown-jre 1.2 will work (and make the version just *,
not 1.1.*).  This is a precursor to native JDK 1.2 support.  Leave the
preference of the dependency to use the native jdk 1.1.

XXX: There should be a standard location not specific to PKG_JAVA for Java
packages, and there is no particular need for a DEPENDS on the JVM for
most packages (even an external-to-tree JVM is typically happy with the code).
This per-VM PREFIX, and particularly configurable JAVA_HOME, is not clean.
2000-10-16 19:43:14 +00:00
rh
bdd5ffc77d Add USE_MESA and USE_GLX mechanism similar to USE_XPM that detects and
handles a builtin XFree86-4.x Mesa.
2000-10-15 11:31:41 +00:00
jlam
57b1b71278 Add knob (SHLIB_HANDLING=YES/NO) for packages to specify if they want
the automatic shared library handling performed during a "make install".
Defaults to "YES".

This is part of a fix for PR#9011.
2000-10-13 23:18:00 +00:00
skrll
bb5a5fb25f Make sure that -Wl does the right thing on a.out.
Make sure that an -fPIC c++rt0 is pulled in for sparc<1.4.3.

Fixes: pkg/11166, pkg/10190, pkg/11189, and port-sparc/10846
2000-10-12 19:05:02 +00:00
hubertf
cc61ece0c6 Revert last change, it made pkg_info spew. 2000-10-10 20:37:29 +00:00
hubertf
92756e88e1 Make pkgsrc works work even if PKG_PATH is set, by passing an empty
PKG_PATH to all pkg_* commands.

XXX things like bin-install aren't ready for PKG_PATH set anyways
2000-10-08 13:59:10 +00:00
agc
821a2385e4 Fix the show-vulnerabilities and show-vulnerabilities-html targets to
work properly in the absence of a vulnerability list.
2000-09-28 10:50:43 +00:00