Commit graph

1080 commits

Author SHA1 Message Date
rh
c60effffcc Add PKGCONFIG_OVERRIDE to get rid of tons of unnecessary patches.
PKGCONFIG_OVERRIDE may contain a list of ".pc.in" pkgconfig template files
that require the addition of -Wl,-R in the pre-configure stage.
2002-10-30 02:25:29 +00:00
bouyer
def1bf2f39 Revert previous. There are extra quotes in COMMENT files created by make
package on NetBSD.
Need to find another way to fix this.
2002-10-28 18:53:37 +00:00
bouyer
ec2b8065fc Add quotes around ${COMMENTS} for PKG_ARGS_COMMON. This is needed for
Solaris's /bin/sh and doesn't do anything bad for NetBSD's /bin/sh.
2002-10-28 17:36:04 +00:00
wiz
b56fb57bf8 Remove USE_LIBINTL and _DO_LIBINTL_CHECKS, which have been replaced
by devel/gettext-lib/buildlink2.mk.
2002-10-23 12:21:29 +00:00
jlam
a6b9c0d3c0 x11.buildlink.mk is no more so remove checks for X11_BUILDLINK_MK. 2002-10-22 22:57:56 +00:00
jlam
0ebae1a37f Have USE_IMAKE imply USE_X11BASE imply USE_X11. Now we can just check if
USE_X11 is defined instead of USE_X11 || USE_X11BASE || USE_IMAKE.
2002-10-22 22:54:07 +00:00
seb
fc6bb7b338 Grep for 'Make' in ${GMAKE} --version output for recording its version.
Compare...

$ gmake --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i386--netbsdelf
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-make@gnu.org>.

to...

$ gmake --version
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
2002-10-21 21:58:59 +00:00
wiz
555b0a21c7 Purge unused USE_XPM (use graphics/xpm/buildlink2.mk instead). 2002-10-21 13:58:14 +00:00
wiz
144d00183a Remove traces of now unused USE_XAW. 2002-10-21 01:40:56 +00:00
wiz
022dd28384 Remove (currently unused) USE_LTDL code -- use libtool/buildlink2.mk instead. 2002-10-21 01:23:03 +00:00
wiz
16407c1798 Remove USE_MESA -- now unused. 2002-10-21 01:17:11 +00:00
wiz
accb9cb69d Remove obsolete USE_FREETYPE2 support; all users have been converted to use
freetype2's buildlink2.mk.
2002-10-20 11:47:04 +00:00
jlam
0905c3678b Move some variable definitions from bsd.pkg.mk to bsd.prefs.mk so that
they may be used in conditional statements in *.mk files before bsd.pkg.mk
is included.
2002-10-19 20:33:59 +00:00
jlam
94fedbecad Reorder EVAL_PREFIX, PKG_JAVA_HOME, and CLASSPATH sections so that
EVAL_PREFIX is evaluated at the correct time so that the variables it
defines are usable by the CLASSPATH code and the buildlink2 code.
2002-10-13 09:38:58 +00:00
jlam
94362c8d1d The JVM packages all now install such that "pkg_info -qp <jvm-pkg>" returns
JAVA_HOME for that package, so we don't need _JAVA_PREFIX anymore.
2002-10-13 08:01:27 +00:00
jlam
71a2b3fa8b Recognize ROOT_USER and ROOT_GROUP in MESSAGE files. 2002-10-08 11:01:50 +00:00
wiz
e5ebd8f39a Move BUILD_USES_GETTEXT_M4 logic to automake.mk. 2002-10-07 21:47:49 +00:00
jlam
36647028eb Don't use JAVA_HOME as the user may have it incorrectly set in the
environment.  Instead, create a new variable PKG_JAVA_HOME, which is
passed to the configure and build processes via:

	JAVA_HOME=${PKG_JAVA_HOME}

to override any environment setting for JAVA_HOME.  This should fix
pkg/17989.
2002-10-04 11:19:26 +00:00
jwise
80a79f514d Back out previous -- needs more thought. 2002-10-03 18:20:46 +00:00
jwise
4b31d5108f Fix a long-standing problem with dependencies for java packages, introduced
when support for BUILD_DEPEND-only java packages was introduced -- this problem
was preventing java from being registered as a dependency for a number of java-based
packages.
2002-10-03 16:07:27 +00:00
rh
5b9570bb28 Correctly fetch ALLFILES containing '=' characters 2002-09-29 01:38:32 +00:00
rh
0cbef82639 Add MASTER_SITE_GNUSTEP 2002-09-27 10:36:53 +00:00
jlam
55ef787302 When PKG_DEBUG_LEVEL=2, set_PKG_DEBUG_SCRIPT is set to "${SH} -x". Use
_PKG_DEBUG_SCRIPT when running the INSTALL/DEINSTALL scripts so that they
may be easier to debug.
2002-09-26 21:04:11 +00:00
abs
5dcd7e65d1 At least jakarta-tomcat requires the same ${_ULIMIT_CMD} on do-install as
on do-build
2002-09-26 09:57:50 +00:00
jlam
021f618f90 USE_MOTIF is unused. 2002-09-25 06:31:00 +00:00
jlam
4a7c8310c5 Move pkgtools-related definitions into bsd.prefs.mk so that they may be
used by buildink2.mk files.
2002-09-24 21:54:49 +00:00
wiz
a9007ebbe1 Fix gnome path on ftp.tuwien.ac.at. 2002-09-24 13:01:02 +00:00
jlam
63ee7336e7 Provide a separate variable "X11_LDFLAGS" that just contains the linker
flags for finding the X11 libraries.  The value of X11_LDFLAGS is appended
to LDFLAGS if the packages uses X11.
2002-09-23 08:35:12 +00:00
jlam
513bfa31b8 Allow other Makefiles to specify a PERL5_GENERATE_PLIST that overrides the
one provided by bsd.pkg.mk when generating the PLIST from PERL5_PACKLIST.
2002-09-22 12:19:36 +00:00
jlam
3b54a65495 Handle removing the rpath flags in the wrappers if USE_BUILDLINK2 is set. 2002-09-21 23:19:22 +00:00
abs
4ce6a8c4c2 Always Linux-*-i[3456]86, never Linux-*-i386.
Fixes ap-jk build breakage on Linux systems.
2002-09-18 11:08:25 +00:00
jlam
0d2ebb8aba Move the LIBTOOL definition outside of the USE_LIBTOOL conditional so that
it may be used by buildlink2.
2002-09-17 23:53:50 +00:00
hubertf
067781c309 quote args to pkg_info, to prevent some shell trying to interpret them. 2002-09-16 10:04:39 +00:00
hubertf
44763c1291 show-installed-depends: properly quote pkg, as it can contain some things
the shell would definitely interpret in a wrong fashion (like
	"perl>=5.0" - we don't want to create some file).

Pointed out by Jan Schaumann <jschauma@netmeister.org> on tech-pkg.
2002-09-16 09:56:31 +00:00
rh
5d9dea26a6 Move xpkgwedge check from bsd.pkg.mk to bsd.prefs.mk so that X11PREFIX
location check within package Makefiles actually works as expected.
2002-09-15 11:58:22 +00:00
jlam
b944dd3217 Add BUILD_DIRS and INSTALL_DIRS, which have the same semantics as
CONFIGURE_DIRS, and allows running the shell commands in the do-build and
do-install targets within the specified directories.  Both variables
default to ${WRKSRC}.
2002-09-12 10:34:29 +00:00
tron
01817b5b43 Add a "list" target which invokes "pkg_info -L" for the current package. 2002-09-08 06:59:26 +00:00
jlam
e5981c7c8d Don't add the perl dependency if perl5/buildlink2.mk is included as the
buildlink2.mk file has it's own logic for how to add the perl dependency.
2002-09-06 08:10:40 +00:00
abs
de040ce391 openoffice requires the unlimit on configure (for jdk) as well as for build.
Add ${_ULIMIT_CMD} to do-configure:
2002-09-02 02:42:26 +00:00
wiz
87fc391620 Fix sourceforge path on ftp.tuwien.ac.at. 2002-09-01 16:15:32 +00:00
wiz
ff35ca18f0 Another sourceforge mirror site. 2002-08-30 12:54:29 +00:00
abs
dfd095b58c Add 'UNLIMIT_RESOURCES+=datasize' if we are using sun-jdk14. On at least
NetBSD/i386 1.6 datasize needs to be at least 192MB to build jakarta-tomcat.
Also set it for sun-jdk as that can expand to {sun-jdk13,sun-jdk14}...
2002-08-30 10:46:46 +00:00
seb
9a2cbf0ab0 Allow more flexibility in the handling of UNLIMIT_RESOURCES.
Each word of UNLIMIT_RESOURCES is supposed to be a knob on
ULIMIT_CMD_<word> variable which value if defined is added to _ULIMIT_CMD.
The ULIMIT_CMD_* variables are set per $OPSYS in defs.*.mk and are overridable
by the user.

Solaris' default value of ULIMIT_CMD_memorysize adjusted as suggested in PR
pkg/18087 by Jonathan Perkin <sketch@rd.bbc.co.uk>.
2002-08-28 11:06:17 +00:00
jlam
3cabf7e0ed Fix USE_FORTRAN in the USE_BUILDLINK2 case. 2002-08-27 17:35:02 +00:00
jlam
e4d02a9cf4 In print-PLIST, use "${RMDIR} dir 2>/dev/null || ${TRUE}" instead of just
using "true" at the end.
2002-08-27 06:06:38 +00:00
jlam
7230ff5dd9 PKG_SYSCONFDIR is not supposed to be settable, so change its setting from
?= to =.  Note in Packages.txt that the only variables that a user should
customize in /etc/mk.conf are PKG_SYSCONFBASE and PKG_SYSCONFDIR.<pkg>.
2002-08-26 05:17:39 +00:00
jlam
fff8372661 Pull up change in buildlink2 branch:
Rename NO_BUILDLINK2 to NO_BUILDLINK.  This better matches what it's
supposed to disable -- the "buildlink" targets.
2002-08-25 18:52:05 +00:00
wiz
e6c4e8251c Add some more sourceforge mirror sites. 2002-08-23 11:26:07 +00:00
jlam
b119dbc8ef Merge pkgsrc/mk from the buildlink2 branch back into the main trunk. 2002-08-22 08:21:26 +00:00
tron
4b4b32f248 Move "ftp.fi.netbsd.org" from "MASTER_SITE_LOCAL" to "MASTER_SITE_BACKUP".
This will reduce load on "ftp.netbsd.org" a bit and still make our
local distribution files available during outages.
2002-08-11 16:56:51 +00:00