Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
- set RSH on an opsys-specific basis, defaulting to /usr/bin/rsh
(XXX: please confirm/verify this on your OS)
- set SSH_RSHPATH to RSH in bsd.pkg.defaults.mk
|
|
Add commented-out definitions for all OPSYS - please adjust.
|
|
|
|
-traditional flag; you need to use "gcc -E" to get sane behavior.
Override sys.mk's definition of CPP in defs.Darwin.mk, and don't
re-override CPP in gcc.mk if ${OPSYS} == Darwin.
|
|
construct "DEPENDS+=${USE_USERADD:D${_USER_DEPENDS}}" to ensure that the
conditional is not expanded until after USE_*ADD is actually defined.
|
|
across all of them, but let it commented out until each responsible person
for each system modifies it to work correctly. Requested by agc@.
|
|
${LOCALBASE}/sbin on Linux, Darwin and IRIX.
|
|
files. On most platforms this resolves back to "${ECHO} -n".
|
|
|
|
link things)
|
|
bsd.pkg.mk, and use the abstracted means of determining generic shared
lib type per operating system.
|
|
some shells can set MAIL to be the mailbox of the user, and
environment variables will override assignments in make when using
conditional assignments.
|
|
echo "message" | ${MAIL} -s"subject" add@ress.example
|
|
different patch programs). Ok by agc
|
|
<1062867125.27063.26.camel@frotz.local> on tech-pkg.
Darwin has no rpath, but many packages pass "-Wl,${RPATH_NAME}..." to
the linker, breaking the build of these packages on Darwin. using -L
essentially makes these arguments a no-op, and fixes packages which
were solely broken by this.
|
|
|
|
|
|
OS_VERSION >= 6.0 by using
${OS_VERSION:R} >= 6
|
|
|
|
|
|
necessarily GNU tar.
XXX GTAR should probably always point to real GNU tar later.
|
|
flag _OPSYS_PTHREAD_AUTO ("yes" for Darwin, "no" for everyone else) and
make pthread.buildlink2.mk do basically nothing in that case.
|
|
|
|
cd pkgsrc/mk
cvs update -Pd -A
cvs update -Pd -j pkgviews-mk-base -j pkgviews-mk
|
|
${TOOLS_DIR}/bin/make. If a package wants GNU make, then it should
set:
USE_GNU_TOOLS+= make
in the package Makefile. Allow for USE_GMAKE to continue to work
until we get a chance to sweep through pkgsrc and remove the usage
of this now-redundant variable.
This change allows us to avoid patching makefiles that use a bare
"make" command to invoke sub-make processes. Idea suggested by
salo@netbsd.org in pkg/22509.
|
|
|
|
to the linker to (not) extract all symbols from static archives and
export these variables to packages as {,NO_}WHOLE_ARCHIVE_FLAG.
these are not currently set for IRIX.
|
|
the FIX_RPATH magic works.
Fix suggested by Tim Preston.
|
|
set it to /usr/bin/m4 for everyone, at least for now.
|
|
on Irix. Noted and suggested by Pavel Cahyna in a private email.
|
|
|
|
order to simplify man-page handling across platforms:
If your application installs man pages on NetBSD into
man/cat1/foo.0
but in
man/man1/foo.1x
on Linux, simply use
${IMAKE_MAN_DIR}/foo.${IMAKE_MANNEWSUFFIX}
Definitions for Darwin provided by grant, others from
/usr/X11R6/lib/X11/config/*
This allows us to put away with having multiple PLISTs just for the different
man page locations.
PKGREVISION bumps of `grep -l USE_IMAKE pkgsrc/*/*/Makefile` coming up after
revision and adjusting.
|
|
|
|
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.
|
|
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.
|
|
value of USE_INET6.
|
|
|
|
|
|
defining _OPSYS_PERL_REQD to the correct value to make sure there's
a valid perl version for that platform.
|
|
path to the java home directory depending upon whether the operating
system includes Java by default. Use the operating system-dependent
definitions files to set this value.
|
|
the logic for doing backups when applying patches, and set the value
accordingly in the opsys-dependent defs file.
|
|
whether the gettext package should be used.
|
|
more generic, way - use an abstraction called ${_OPSYS_RPATH_NAME} which
takes the value "-rpath," or "-R", set appropriately in the opsys-dependent
defs files.
|
|
and use that rather than a hardcoded ${OPSYS} default in bsd.pkg.mk
|
|
because I'm a slacker. Take a months-old hint from Johnny in PR
16628 and set PKG_CREATE_USERGROUP to NO in the meantime.
|
|
by devel/gettext-lib/buildlink2.mk.
|
|
|
|
was only able to check the paths for NetBSD and Linux...Solaris and Darwin
pkgsrc developers should change the path to expr in the right defs.*.mk
file.
|
|
generalise the linker flags used to export symbols by setting them on
a per-OS basis.
> many packages force -Wl,-export-dynamic which is not portable outside GNU ld
> and cause problems e.g. on Solaris. some of these packages use if
> conditionals either only for NetBSD or except SunOS, but the state is not
> coherent and it may complicate later when support for new OS is added to
> pkgsrc (e.g. ongoing work on HP-UX support).
>
> jlam proposed the following framework in discussion on tech-pkg:
>
> http://mail-index.netbsd.org/tech-pkg/2002/06/21/0009.html
>
> now, ${EXPORT_SYMBOLS_LDFLAGS} is used instead of directly defining
> -Wl,-export-dynamic which is set in appropriate defs.*.mk to reasonable
> values. packages should be converted to this framework by:
>
> 1) replacing LDFLAGS+= -Wl,-export-dynamic and LIBS+= -export-dynamic with:
>
> LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
>
> 2) for use in patchfiles, add this variable to MAKE_ENV if needed:
>
> MAKE_ENV+= EXPORT_SYMBOLS_LDFLAGS=${EXPORT_SYMBOLS_LDFLAGS}
>
> 3) replace occurances of -Wl,-export-dynamic and -export-dynamic in patch
> files with:
>
> $(EXPORT_SYMBOLS_LDFLAGS)
|