Commit graph

1256 commits

Author SHA1 Message Date
jlam
70004632b2 Buildlink glue to provide strong-buildlinking for packages that use X11
(not counting packages using imake) whether or not xpkgwedge is installed.
2001-08-29 22:33:38 +00:00
zuntum
8a4bf4a469 Fix typo:
avi{...,avitype} -> avi{...,type}
2001-08-28 23:36:24 +00:00
tv
ea4db8a84e Since libtool has now been split, it's no longer necessary to have a
BUILD_DEPENDS on libtool for the USE_LIBTOOL/non-USE_LTDL case; instead,
just depend on libtool-base (thus skipping the libtool-info and libtool
package compilation where appropriate).
2001-08-27 15:05:54 +00:00
hubertf
72a293c7e6 print-PLIST: remove emul/linux/proc entries before sorting. No need to
waste processing time on data we're going to discard.
	     Pointed out by Tomasz Luchowski <zuntum@netbsd.org>.
2001-08-24 10:50:03 +00:00
abs
7cb5dda995 shuffle some whitespace to make it more obvious what is going on 2001-08-24 09:00:44 +00:00
hubertf
aeed7c63ec * When applying patches, also look in $LOCALPATCHES/$PKGPATH for
any local patches that the user wants to maintain outside of
   pkgsrc.
 * print-PLIST: ignore Linux procfs entries
2001-08-24 00:54:46 +00:00
abs
59ca687318 dirname is in /usr/bin. Now buildlink has a fighting chance on Linux 2001-08-23 16:54:09 +00:00
abs
8eee1675b7 gnu patch is used under Linux as well as Solaris 2001-08-23 16:37:27 +00:00
abs
482c9eeada '.endif' not '.fi' 2001-08-23 15:27:50 +00:00
jlam
33f148d48b Add a LIBOSSAUDIO definition that is passed through MAKE_ENV. 2001-08-23 13:31:00 +00:00
jlam
46a8516c88 Wrap this file in an .if ${OPSYS} == "NetBSD" so that it may be included
regardless of the operating system.
2001-08-23 13:12:59 +00:00
jlam
79fe9eff8c Create buildlink.mk files for the various Xaw libraries. Instead of
USE_XAW, a package Makefile may just include mk/xaw.buildlink.mk, which
pulls in the correct buildlink.mk file depending on the value of XAW_TYPE.
A package Makefile may also rely on LIBXAW being set to the correct
libraries.
2001-08-23 04:24:21 +00:00
jlam
64194bcde5 Set the default BUILDLINK_X11_DIR to ${X11BASE} so that in the absence
of x11.buildlink.mk, it still points to a working X11R6 hierarchy.
2001-08-23 04:21:02 +00:00
jlam
c2c4606f78 By default, don't use pkgtools/buildlink-x11 to cause packages that use
imake to be buildlinked as it's not necessary for those packages.  Many
thanks to Frederick Bruckman <fredb@immanent.net> for pointing this out.

This is accomplished by ripping out all of the Makefile logic related to
buildlink-x11.  It will be added back in a separate file (as noted by the
additional check for X11_BUILDLINK_MK, but will still not be the default.
2001-08-22 17:34:19 +00:00
jlam
14bff9af55 Change a = to a += to allow adding to the value of
BUILDLINK_CONFIG_WRAPPER_POST_SED.  Also some minor formatting changes.
2001-08-22 04:29:55 +00:00
tv
d4f0e2715c Remove "-" from default su command. It's more reliable to let some of the
environment be inherited from pkgsrc during an implicit su for install;
root's .-files may set variables that fiddle with how pkgsrc works.
2001-08-20 14:41:48 +00:00
zuntum
747a7f4680 Add AVIFILE_USE_QT for use by avifile package (as the moment only avifile-devel
uses it)
2001-08-19 08:47:57 +00:00
dogcow
10023af344 change BUILD_DEPENDS+= bzip2-0.9.0b:../../archivers/bzip2 to >=0.9.0b;
otherwise, extracts fail when bzip2-1.0.1 is installed.
2001-08-16 01:49:09 +00:00
agc
0671c7dbb5 The TCSH_STATIC mk.conf definition has been removed in favour of a
static-tcsh package.
2001-08-14 12:48:21 +00:00
skrll
6b1239edda Add GNU_ARCH.sparc64 entry.
This should fix pkg/13714 by Martti Kuparinen <martti.kuparinen@iki.fi>
2001-08-14 11:00:44 +00:00
jlam
cd4bfb05da Update build dependency on buildlink-x11 to >=0.7. 2001-08-08 07:24:57 +00:00
abs
b17128a573 ftp.digital.com seem to have dropped their cpan archive - switch to loaded 2001-08-01 16:18:18 +00:00
hubertf
e352dcca1e Sync locales from *.pkg.dist to *.x11.dist:
* NetBSD:	$LOCALBASE/share/locale	-> $X11BASE/share/locale
 * Linux:	$LOCALBASE/share/locale	-> $X11BASE/share/locale
 * SunOS:	$LOCALBASE/lib/locale	-> $X11BASE/lib/locale

Side effect of this is that print-PLIST doesn't print locale dirs
for X apps any more.
2001-07-30 15:09:23 +00:00
jlam
cb3a5c9daf Move -a from XMKMF_FLAGS to XMKMF. Thus, if a package wants to run
xmkmf without building all the Makefiles too, then it can set
XMKKF=${XMKMF_CMD} ${XMKMF_FLAGS} (same as default but without the -a).
2001-07-30 05:04:32 +00:00
tron
2c3778caca Remove obsolete variables "SQUID_HTTP_PORT" or "SQUID_ICTP_PORT". 2001-07-29 19:25:27 +00:00
jlam
ffdab7295f Add back commented code. 2001-07-27 16:51:30 +00:00
jlam
68e55782bb Separate library name replacement into two parts, pre-configure and
post-configure.  Also make sure ${BUILDLINK_DIR} is created prior to
trying to create the cookie files.
2001-07-27 16:41:16 +00:00
jlam
a9fa4a1635 On ELF, the linker extracts the soname from the specified libraries to
place in the linked object, so even if the library is a symlink with a
different name from the true library, the correct soname is recorded in
the object.  On a.out, there is no soname, so the linker just records the
specified library name + major number into the object, which can cause the
incorrect library name to be recorded.  Fix this problem on a.out by
replacing the specified library names with the true library names in all of
the Makefiles in a post-configure step.  Additional files may be added to
the list of files on which replacement is done by setting REPLACE_LIBNAMES
in each package that needs it.

This should fix pkg/13402 by John Klos <john@sixgirls.org>.
2001-07-27 14:30:16 +00:00
hubertf
822fcf2541 work around HAVE_BUILTIN_MESA not set when USE_GLX is set. 2001-07-27 12:19:15 +00:00
hubertf
04f42d0486 ZOULARISBASE: If there's no $LOCALBASE/bsd, try $LOCALBASE 2001-07-26 16:13:52 +00:00
wiz
e786e881f0 Force move new file over old one in REPLACE_PERL (at least one package
needs that).
2001-07-26 08:39:35 +00:00
hubertf
f93ab578be Close a quote.
Noted by Will Andrews <will@physics.purdue.edu> in private mail.
2001-07-26 08:33:02 +00:00
jlam
a16dfdacab If USE_BUILDLINK_ONLY is defined, then use f2c/buildlink.mk instead of
directly adding a dependency on f2c.
2001-07-25 23:49:41 +00:00
abs
12ca9cd123 Note sun-jdk is a valid PKG_JVM, plus correct PACKAGE_JVM to PKG_JVM ref 2001-07-25 12:12:54 +00:00
jlam
9d08dcf929 Change the EVAL_PREFIX logic so that if
EVAL_PREFIX=    FOODIR=foo

is defined, then FOODIR's value is only saved if the package foo was
found.  This causes FOODIR to keep being reset until the package foo
is installed, which makes EVAL_PREFIX work properly with buildlink.mk
files.  This should fix various problems people have been having with
files not being linked in when a dependency is built via a "make build"
in a package that uses that dependency further up the chain.
2001-07-25 07:36:40 +00:00
jlam
c762959d80 Add more debugging code to note when a file to be linked can't be found. 2001-07-24 11:47:28 +00:00
jlam
081ae6de6b Only create <sys/soundcard.h> if <soundcard.h> exists. 2001-07-24 10:13:38 +00:00
wiz
77d1591c0a Add variable to make navigator/communicator _not_ depend on flash, and
document it in mk.conf.example. Adresses pkg/13343.
2001-07-23 18:30:24 +00:00
jlam
8e03d76234 Record files that are linked into ${BUILDLINK_DIR} in the cookie files
to aid in debugging problems.
2001-07-23 11:07:22 +00:00
dmcmahill
02a6401010 don't try and do 'mount -o async -u /usr' because we don't know that the user
even has a file system called /usr or that thats the right one.
2001-07-21 19:58:32 +00:00
dmcmahill
32188bfde2 if an outdated package is still installed and 'make deinstall' fails
to remove it, then try again with 'pkg_delete -r'.  This can happen when
some other out date pacakges are installed and we're trying to bulk build
a single package.
2001-07-21 19:36:47 +00:00
jlam
5af074304d Make the example buildlink.mk file more complete by showing how
dependencies on the package are added through buildlink.  Also show how
to use EVAL_PREFIX to set BUILDLINK_PREFIX.foo.
2001-07-20 02:00:47 +00:00
hubertf
f652ba9c24 Change indentation (whitespace changes only!):
.if 			.if
  .if			.  if
  .else		=>	.  else
  .endif		.  endif
  .endif		.endif

Patch contributed by Marc Espie <espie@liafa.jussieu.fr> in preparation of
merging latest changes with the OpenPackages project. Thanks Marc!
2001-07-18 22:43:32 +00:00
abs
4348e0d6e2 Switch solaris default LOCALBASE across to /usr/pkg 2001-07-17 10:11:32 +00:00
jlam
c18e4e27f6 Rename "FILE" to "FILE_CMD" since ".for FILE" is a common idiom in BSD
makefiles, and this interferes with the conditional definition of FILE
in defs.*.mk.
2001-07-15 12:40:03 +00:00
jlam
bca806a5de Add a buildlink.mk file to put OSS audio headers and libraries into
${BUILDLINK_DIR} in Linuxish locations.
2001-07-14 15:43:18 +00:00
dmcmahill
6b21173ecb if a package subdirectory is listed in the category makefile, but doesn't
exist, then spit out a big warning to stderr (since we often capture stdout
for other purposes) and don't try and descend to that directory.
2001-07-13 15:14:57 +00:00
tron
cd704ea25b Improve Java handling via "USE_JAVA" option:
- The "sun-jre" and "sun-jdk" packages can now be directly selected by
  setting "PKG_JVM" to "sun-jdk". "JAVA_HOME" is set to
  "${LOCALBASE}/java/jre/bin" in this case which fixes PR pkg/11901
  by myself.
- Only set "CLASSPATH" to "${JAVA_HOME}/lib/classes.zip" if that file
  really exists.
2001-07-13 11:28:23 +00:00
jlam
d3bc280f55 Add definitions for CMP pointing to cmp utility and use it in bsd.pkg.mk. 2001-07-13 06:16:02 +00:00
tron
19cbb67830 Check if "${X11BASE}/lib/X11/config/X11.tmpl" exists before searching
with "grep" through it in Mesa library handling.
2001-07-10 16:37:13 +00:00