Commit graph

1212 commits

Author SHA1 Message Date
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
tron
75d0cbc0b3 Add new variable "SPARC_TARGET_ARCH" used to select the target architecture
under Solaris/SPARC. Default is "sparcv7".
2001-07-10 15:07:35 +00:00
tron
75a2304553 Fixes for "tarup" target:
- Add missing "${_PKG_SILENT}${_PKG_DEBUG}" in front.
- Create category directories as required.
2001-07-10 12:04:43 +00:00
tron
805f15ed41 Add new "tarup" target which allows to create a binary package from an
installed package with the "pkg_tarup" utility.
2001-07-10 11:51:57 +00:00
tron
9f2922b0a3 Use ":=" in assignment of "ZOULARISBASE" because "LOCALBASE" might get
redefined later.
2001-07-10 11:13:31 +00:00
tv
d6c0d5882c * Make perl stop installing anything in the man3 directory. It's starting
to install things like "open.3" and "lib.3" which confuse users.  Perl
  ships with a documentation tool, "perldoc", for this purpose; create a
  MESSAGE indicating that it should be used instead.  (Perl still installs
  command line program manual pages in man1.)

* Integrate bsd.perl.mk into the perl5-base build where it should have been
  from the beginning.  The separate perl-mk pkg makes binary packages of
  perl-mk completely useless[*].  Older perl builders will not break, since
  <bsd.pkg.mk> contains fallback definitions that are evaluated at pkg
  build time.

=====

[*] bsd.perl.mk is tightly bound to the version of perl that is installed.
    The version name "perl-mk-1.1" is completely useless as a binary pkg,
    since keeping multiple binary versions of perl on a FTP server means
    that one of the perl-mk's will get clobbered.

    However, putting the current pkgsrc PERL5_DIST_VERS in the perl-mk pkg
    is also a problem, because that doesn't necessarily reflect the
    installed version of perl.  Snarfing the installed version at perl-mk
    build time would be even uglier, since you could not then walk the tree
    without perl being installed.

    The cleanest solution is to integrate bsd.perl.mk into the perl5-base
    pkg, and let those who have not upgraded perl yet use the runtime
    definitions in <bsd.pkg.mk>.
2001-07-09 17:10:25 +00:00
fredb
a031a501cf Provide missing parenthesis for CHECK_XPM. 2001-07-09 14:31:58 +00:00
dmcmahill
47460c416e consolidate a duplicated part of the script. 2001-07-09 10:24:41 +00:00
dmcmahill
5e895a7c16 when saving the rsync script for later, be sure and save the starting
directory too.
2001-07-09 10:08:38 +00:00
dmcmahill
7bb464e019 teach the upload script about OSVERSION_SPECIFIC packages so one can put
them in the right place.  For example, a collection of binary packages can
now put uploaded with most going to the major.minor directory and the
OSVERSION_SPECIFIC ones going to the major.minor.patch directory.

still todo:  the destination settings should probably be moved out of
build.conf so the same build.conf can be used by multiple machines of
different MACHINE_ARCH's at the same time.  Perhaps these should be
a command line option to 'upload' instead.
2001-07-08 14:36:56 +00:00
dmcmahill
7190c9bfae add OSVERSION_SPECIFIC to BUILD_DEFS if defined so it ends up in the binary
package.  This way we can look at a binary package and determine what versions
of the OS it may run on.
2001-07-07 17:10:36 +00:00
tron
8f157753f2 Check if "${X11BASE}/lib/X11/config/X11.tmpl" before searching with
"grep" in it to avoid problems under Solaris.
2001-07-06 21:10:20 +00:00
tron
af45844a42 Fix quoting problem in Solaris's "/bin/sh". 2001-07-06 18:45:15 +00:00
abs
039063bc7a bsd.prefs.mk: Make OBJECT_FMT work on NetBSD 1.3 2001-07-05 21:11:07 +00:00
jlam
d8e22debda Update buildlink-x11 to 0.6. Changes include moving the custom overrides
of X11.rules settings below the inclusion of <X11.rules>.  This should
cause overrides to work correct for XFree-3.3.x systems.
2001-07-05 17:22:59 +00:00
jlam
619f213103 Document the logic that sets XMKMF_CMD. 2001-07-05 04:58:12 +00:00
jlam
00655f3659 Update buildlink-x11 to 0.5. Changes from previous version are the
addition of the xmkmf script from the XFree86-4.0.x distribution, which
understands passing -D options through to imake.  Update the dependency
on buildlink-x11 in bsd.pkg.mk for packages using USE_BUILDLINK_ONLY to
>=0.5.  Also, if USE_BUILDLINK_X11 is set, then refer to ${BUILDLINK_DIR}
for location of X headers and libraries.
2001-07-05 04:47:27 +00:00
perry
27004b36eb fix a problem with HAVE_BUILTIN_XPM 2001-07-04 23:44:27 +00:00
mjl
fff9689237 Add GNU_ARCH.powerpc. This fixes some of the recent problems experienced
on macppc compiling packages.

XXX This should come from bsd.own.mk but doesn't. Why?
2001-07-03 02:20:38 +00:00
jlam
8c0e21a260 buildlink-mk requires that BUILDLINK_DIR always be set, so set it if
undefined and pass it through MAKE_ENV.
2001-07-02 21:28:45 +00:00
jlam
d51560f78a Bump build-dependency on xpkgwedge to >=1.5, and add a build-dependency
on buildlink-x11 if USE_BUILDLINK_ONLY is defined.  Pass all of
CPPFLAGS/CFLAGS/CXXFLAGS/LDFLAGS to buildlink-x11 through PKGSRC_* versions
of those values.  Also add preliminary support for USE_BUILDLINK_X11 for
buildlinking X11R6 instead of USE_X11 (hi zuntum!).
2001-07-02 21:06:51 +00:00
jlam
8d8c3630b3 Make check for Xpm in XFree86 look like the checks for Mesa and freetype2. 2001-07-02 08:02:33 +00:00
jlam
798c9b42c7 For aesthetic reasons, sort the *.lai files found during replace-buildlink. 2001-07-02 05:03:45 +00:00
jlam
a1de751f6c Merge buildlink-fix-libtool-archives and buildlink-fix-config-scripts
into one target: replace-buildlink.  Get rid of BUILDLINK_FIX_LIBTOOL_SED
as it can be handled with REPLACE_BUILDLINK_SED.
2001-07-02 04:26:50 +00:00
jlam
8933c84cf6 Change example to have bsd.buildlink.mk file included at start of a
package buildlink.mk file.  Also change
BUILDLINK_CONFIG_WRAPPER_SED.<pkgname> to BUILDLINK_CONFIG_WRAPPER_SED.
2001-07-01 22:56:01 +00:00
jlam
a56d13d64f Make sure the -DBuildLink gets passed through to subdir Imakefiles if
BuildLink is defined.  Bump xpkgwedge version number to 1.4 and increase
xpkgwedge dependency version in bsd.pkg.mk.
2001-07-01 21:13:20 +00:00
jlam
acff708464 Resurrect LIBTOOL_OVERRIDE. It's needed for lesstif-0.92.32 which uses
the latest libtool in its sources (there's no ltconfig, only ltmain.sh).
2001-06-30 03:36:48 +00:00
jlam
2365ad8d70 Bump build dependency on xpkgwedge to >=1.3 to handle buildlink.mk files
properly for imake-using packages, and cause pass -DBuildLink to xmkmf
(and thus to imake) if USE_BUILDLINK_ONLY is defined.
2001-06-29 18:29:27 +00:00
jlam
0acb0ede4e If USE_BUILDLINK_ONLY is set, then also set USE_CONFIG_WRAPPER
automatically.
2001-06-29 04:17:19 +00:00
jlam
7e92a3ca81 Create new variable BUILDLINK_CONFIG_WRAPPER_SED.<pkgname> that is added
to the sed expression used in the generated config script wrappers.
2001-06-28 22:37:02 +00:00
wiz
2844ba8358 Update MASTER_SITE_XCONTRIB server list, inspired by a posting to tech-pkg
by Jim Bernard <jbernard@mines.edu>.
2001-06-28 16:54:07 +00:00
drochner
74e42922d3 add an explicite GNU_ARCH.mipsel assignment to work around poor interaction
with <bsd.own.mk>
2001-06-28 13:16:56 +00:00
hubertf
d554c64f6c do not forget X 2001-06-27 11:53:03 +00:00
zuntum
38712c01b3 o move REPLACE_PERL code to more proper location -- to the do-patch target;
now it works when NO_CONFIGURE is set
2001-06-27 11:40:25 +00:00
zuntum
578c864e81 o introduce REPLACE_PERL
it chdir's to ${WRKSRC} and automatically replaces /usr/bin/perl,
  /usr/local/bin/perl and /usr/pkg/bin/perl with ${PERL5} in each file
  listed in REPLACE_PERL variable in package's Makefile
2001-06-27 11:24:15 +00:00
jlam
967b2bf7fe Remove a debugging printf/echo. 2001-06-26 16:44:16 +00:00
jlam
ea0bbe8c3d Fix bug in the sed expression used to filter out libtool archives. It was
mangling "lib/libaviplay.so.0.0" to "y.so.0.0".  Thanks to Tomasz Luchowski
<zuntum@netbsd.org> for finding this.
2001-06-26 16:27:25 +00:00
zuntum
bca90f60ad Fix typo in RCD Id -- s/NetSBD/NetBSD/ 2001-06-26 16:16:12 +00:00
jlam
79542c3998 Add code, similar to REPLACE_NCURSES, called REPLACE_BUILDLINK, that
replace ${BUILDLINK_DIR} in config scripts.
2001-06-26 16:00:13 +00:00
hubertf
c4db0ef4ea * add example how to setup a sandbox from source
* remove twice-mentioned resolv.conf
2001-06-26 15:12:42 +00:00
hubertf
3b198e82c0 A tiny example how I start my sandbox builds.
Nothing fancy, probably needs adjusting to other people's environments.

XXX the list of things that need to be setup in the sandbox should
XXX probably be moved to Packages.txt...
2001-06-23 23:30:28 +00:00
hubertf
81cdec4cf4 Add a script that I use to upload binary pkgs to the FTP server 2001-06-23 23:27:18 +00:00
jlam
0e9e7bbb86 Factor out the sed expression used to fix libtool archives into a variable,
BUILDLINK_FIX_LIBTOOL_SED, that may be appended to.
2001-06-23 19:38:55 +00:00
tron
b3685d9e9b The GNU patch used under Solaris doesn't understand "-b .orig", use
"-z .orig" instead.
2001-06-21 05:48:29 +00:00
jlam
cbfd838f6a Do previous in a different way. 2001-06-21 04:52:56 +00:00