Commit graph

2195 commits

Author SHA1 Message Date
jlam
a37b5c1d19 Use a table-based lookup scheme to pair up JREs to JDKs. 2003-01-29 20:52:01 +00:00
jlam
9aaa6ee3c1 Create directories at pre-install time instead of post-install so that
we can more accurately determine if we "own" a directory.  Ownership is
determined by seeing if the directory doesn't exist before the package is
installed.
2003-01-29 19:47:29 +00:00
jlam
4f29e75ab3 sun-jdk14 has moved to .../java/sun-1.4. 2003-01-29 19:35:41 +00:00
jlam
7cf1a7b253 Move the inclusion of bsd.pkg.install.mk higher so that binary packages
are generated correctly (with INSTALL and DEINSTALL scripts).  Fix
suggested by Stoned Elipot <seb@netbsd.org>.
2003-01-29 19:34:14 +00:00
abs
855c36cf9e Set _JAVA_BASE_CLASSES to classes.zip or wre.jar in java-vm.mk, then use in
bsd.pkg.mk. We are now more wonka friendly.
2003-01-29 09:34:29 +00:00
jlam
e5b3822bd2 Ensure that PKG_SYSCONFBASE is always defined (defaulting to ${PREFIX}/etc). 2003-01-28 22:57:53 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
seb
dcdd15e6d0 Search for the system provided install-info in /usr/bin and if needed
in /sbin.

If devel/gtexinfo if not used assume makeinfo is /usr/bin/makeinfo.

Confirmed to work on RedHat 7.3 by abs, thanks!
2003-01-28 20:03:02 +00:00
seb
5b23966cfb white space fix: replace spaces by tabs 2003-01-28 00:08:29 +00:00
jschauma
ce9144b328 Add some LOWER_VENDOR definitions on Linux to better customize packages
in the future (on Debian, for example, there is no libtermcap, and we need to
depend on ncurses etc.)
2003-01-25 22:39:56 +00:00
jlam
0fb7eda7a3 Create a fake libpthread.la that corresponds to /usr/lib/libpthread.*.
This should allow building packages that use libtool and use native
pthreads even if pth is installed.
2003-01-25 08:39:54 +00:00
jlam
45373af245 Modify code to produce fake libtool archives to check whether the libraries
named using the shell pattern actually exist.
2003-01-25 07:57:21 +00:00
uebayasi
3e16e4b300 Skip if no valid Emacs version found. For bulk builds. 2003-01-25 03:21:30 +00:00
jlam
69fbe893c6 Strip bare "-L${BUILDLINK_DIR}" (note there is no trailing "/lib") from
dependency_libs definitions in *.lai files.  This should remove another
instance that can cause "buildlink2 leakage" into installed files under
${LOCALBASE}.
2003-01-24 12:09:16 +00:00
agc
5f6807909a Use an /etc/mk.conf setting for libdvdcss's HOMEPAGE and MASTER_SITES,
following a suggestion by salo.

This allows users to specify

LIBDVDCSS_MASTER_SITES= ...
LIBDVDCSS_HOMEPAGE= ...

in their /etc/mk.conf files.
2003-01-24 10:04:23 +00:00
grant
da30fb13f6 require at least libtool 1.4.20010614nb12 on Darwin. 2003-01-21 22:48:57 +00:00
jschauma
334447021d Pax NetBSDi. 2003-01-21 14:28:14 +00:00
grant
f8a44170f0 add MYSQL_USER, MYSQL_GROUP, MYSQL_DATADIR. 2003-01-21 08:24:32 +00:00
kristerw
afc3b5c6af List which packages depend on the different variables, and some consistency
changes to the descriptions.

XXX I have only done the [A-C]* variables for now. The rest will be done RSN.
2003-01-20 23:39:35 +00:00
kristerw
d81abd3c52 BOOTSTRAP_EGCS is not used any longer. Remove it. 2003-01-20 23:15:34 +00:00
wiz
a4764c1249 Add stamp-vti to AUTOMAKE_PATTERNS; fixes bison problem, tested by salo. 2003-01-20 16:26:43 +00:00
dmcmahill
dd9d9f18d5 fix a bug introduced by the last commit where a string was accidentally
split across a line.  Thanks to Greg Woods for catching this.
2003-01-20 01:31:21 +00:00
dmcmahill
e2438ae141 Many white space and indenting fixes to bring this more in line with
/usr/share/misc/style.  Prompted by a private email from Greg Woods,
woods at weird dot com.
2003-01-18 04:28:57 +00:00
wiz
4f9e3f0345 -. if (${AUTOMAKE_OVERRIDE} == "YES")
+.  if empty(AUTOMAKE_OVERRIDE:M[nN][oO])
to match bsd.buildlink2.mk (which defines AUTOMAKE_OVERRIDE to yes).
2003-01-17 13:55:27 +00:00
jlam
63029a767b Make BUILD_DIR always point to a physical path by invoking /bin/pwd instead
of relying on the shell's builtin pwd.  This makes BUILD_DIR consistently
point to the correct directory regardless of the definition of SHELL.  This
fixes elusive some buildlink2 errors due to the fact that BUILDLINK_DIR is
derived from BUILD_DIR and some paths were incorrectly being translated.
2003-01-15 20:55:38 +00:00
jlam
bae57c8408 Revert previous change. Defining BSD_PREFS_MK instead of BSD_PKG_MK
breaks too many users' /etc/mk.conf files that have a

	.ifdef BSD_PKG_MK
	# /usr/pkgsrc stuff
	.else
	# /usr/src stuff
	.endif

structure.  We'll think of another way to protect against multiple
inclusion of bsd.pkg.mk and bsd.prefs.mk.
2003-01-15 10:06:48 +00:00
jlam
b9a5491738 Add RCS Id. 2003-01-15 09:26:14 +00:00
dmcmahill
a89746c11a avoid the use of the gensub() function as it is a gawk extension not
found in other awk implementations.  Patch provided by Greg Woods,
woods at weird dot com, via private email.
2003-01-15 00:40:50 +00:00
wiz
d2bb2ec016 Define and check for BSD_PREFS_MK, not BSD_PKG_MK. Proposed by Jan Schaumann. 2003-01-14 16:25:41 +00:00
jlam
1ced74ea7f Bump build dependency on x11-links to 0.12 after teaching x11-links about
Xrender.
2003-01-14 09:32:12 +00:00
jschauma
d07838581f On Linux, LOWER_ARCH is generally not yet defined. Move assignment. 2003-01-14 03:01:37 +00:00
grant
ce61865a53 bump BUILD_DEPENDS on x11-links (Darwin fixes). 2003-01-13 09:49:22 +00:00
jschauma
207359eaa9 According to seb, make on 1.5 does not know about ${VAR:tl}, so let's go back to
echo VAR | tr A-Z a-z
2003-01-12 22:36:14 +00:00
jschauma
a2843dc815 efficiency++;
Make can take care of substitutions itself, so we don't need to use
echo VAR | sed
or
echo VAR | tr
Suggested by seb.
2003-01-12 22:30:08 +00:00
jschauma
638f4888bd On Linux, s/i.86/i386/ for LOWER_ARCH and MACHINE_ARCH as suggested by
Jeremy C. Reed on tech-pkg.
Even though bootstrap's bmake will do this at build-time, this ensures
that even older bmake's don't fail if a package checks it for == i386.
2003-01-12 20:36:58 +00:00
jlam
29347ddf13 Alphabetize _BLNK_CACHE_ALL list. 2003-01-10 20:09:38 +00:00
jmmv
29764b8c34 Added http://osdn.dl.sourceforge.net/sourceforge/ as Sourceforge mirror.
Okay'ed by wiz.
2003-01-10 19:17:52 +00:00
thorpej
0470555b2c Don't add rpath statements to _BLNK_LDFLAGS if _USE_RPATH != "yes". 2003-01-10 18:44:02 +00:00
mycroft
d296aa91c5 Protect some substitutions with slashes -- i.e. so that /usr/pkgsrc/.../work
doesn't get the /usr/pkg part expanded accidentally.
2003-01-10 14:25:22 +00:00
agc
c02f311ec8 Add the PKG_PRESERVE capability to bsd.pkg.mk.
A package which has PKG_PRESERVE definied in its Makefile will not be able
to be deleted, and the capability is carried into binary packages.
2003-01-10 11:57:09 +00:00
jlam
10b6718d6c Protect ${WRKDIR} from transformation. We only want to transform paths
from outside of the work directory.
2003-01-10 09:59:25 +00:00
jlam
a6486220cb Fix indentation for case statement. 2003-01-10 09:41:53 +00:00
jlam
1abdd450fe Install a ${PREFIX}/bin/shlibtool as part of the devel/libtool-base
package.  shlibtool will not build static libraries.  Add handling in
bsd.pkg.mk for a variable named "SHLIBTOOL_OVERRIDE" that is analogous to
LIBTOOL_OVERRIDE and causes any listed libtool scripts to be replaced with
a symlink to shlibtool, and teach buildlink2 about shlibtool.  Bump
PKGREVISION of devel/libtool* packages to 11.
2003-01-10 08:44:18 +00:00
mycroft
01f16000a1 Add locale/bs/LC_MESSAGES. 2003-01-10 01:14:47 +00:00
schmonz
97b0067034 Introduce NO_PKGTOOLS_REQD_CHECK, with which a package can disable
warnings about out-of-date pkg_install. It's defined in pkgtools/digest,
pkgtools/pkg_install, and databases/db (needed by pkg_install).

Replace sequences of ${ECHO_MSG} and ${FALSE} with PKG_FAIL_REASON.

Replace "make" with ${MAKE} in a few places.
2003-01-09 13:16:38 +00:00
jlam
27d0cedb05 Teach buildlink2 about ${_OPSYS_RPATH_NAME} instead of just using -Wl,-R
everywhere.
2003-01-08 08:33:54 +00:00
jlam
23c71bd134 Also substitute for @BUILDLINK_X11_DIR@ in the wrapper scripts. This was
a harmless bug, and the scripts will now run a little faster.
2003-01-07 21:56:10 +00:00
jlam
ec198db7a5 Output warnings to stderr, not to stdout (duh!) 2003-01-07 07:34:39 +00:00
jlam
722f6a3d3d Don't complain about (correct) .buildlink leakage in the fake libtool
archive case.  Also output errors to stderr, not stdout (duh!).
2003-01-07 07:34:08 +00:00
grant
01eae24936 use ${LOCALBASE}/{g,}patch (in that order) if gpatch is not in
the base system.
2003-01-06 22:29:23 +00:00