Commit graph

170 commits

Author SHA1 Message Date
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
grant
764cd7c33a only include <search.h> if it is present. fixes build on Darwin. 2004-12-18 14:28:04 +00:00
jlam
bda6801430 Create directories before putting files in them. This should fix
PR pkg/28480.
2004-12-11 00:32:16 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
jlam
40377c791f Remove pre-buildlink and post-buildlink as part of getting pkgsrc ready
for pkgsrc-2004Q4.  The "buildlink" phase was removed for the last branch,
and this is the final cleanup.  "post-buildlink" is now "post-wrapper".
2004-11-28 19:19:51 +00:00
wiz
9e51fe7597 Fix broken libintl existence test; patch by minskim. 2004-11-27 23:35:37 +00:00
jlam
9a38f17ac4 Standardize how we search for libraries in builtin.mk files. We define
_BLNK_LIB_FOUND.<lib> to "yes" or "no" depending on whether -l<lib> is
found in the base system.
2004-11-26 23:16:35 +00:00
jlam
d9cb6e54ab Move the section that sets up some GNU configure variables to force
"GNU gettext" detection outside of the BROKEN_GETTEXT_DETECTION block.
We will need this to happen all the time if we're using a built-in
gettext that isn't really GNU gettext.
2004-11-21 02:40:15 +00:00
jlam
7d3cec1b2b Follow the recommended template for builtin.mk files: glibc's gettext
is _not_ GNU gettext, so it's presence should not set IS_BUILTIN.gettext
to "yes", but it _can_ set USE_BUILTIN.gettext to "yes" to force that
it be used.

Also, create a new variable BROKEN_GETTEXT_DETECTION, which is yes/no
depending on whether or not a package's GNU configure script properly
detects -lintl.  This variable currently defaults to "yes", but should
eventually be set to "no" and overridden on a package-by-package basis
for those packages that truly are broken.
2004-11-14 04:05:16 +00:00
minskim
434b99e796 If builtin libintl has ngettext(), force packages requiring gettext
API version 2 to choose the builtin library over GNU gettext shipped
with each package.

In fact, the gettext library included in a package should never be
used.  Otherwise every such package would install charset.alias and
locale.alias, causing conflicts with each other when pkgviews is
enabled.

For platforms without ngettext() in their builtin libintl (assumed to
be gettext-lib-0.10.35nb1 by gettext-lib/builtin.mk), packages
requiring gettext API version 2 must add dependency on
gettext-lib>=0.10.36 to share devel/gettext-lib rather than to link
statically against the included gettext library.
2004-10-14 03:16:35 +00:00
grant
39a6bf3ea2 older versions of GNU gettext do not provide ngettext() and a bunch
of other functions. only consider the base system's gettext suitable
if it provides at least ngettext().
2004-10-04 10:42:39 +00:00
heinz
3090e602a7 Correct typo "PREFER.getext". 2004-10-03 22:37:16 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
jlam
8d572feba3 Use the new BUILDLINK_TRANSFORM commands to more precisely state the
intended transformation: use "rm" to remove an option, "rmdir" to remove
all options containing a path starting with a given directory name, and
"rename" to rename options to something else.
2004-08-28 06:05:31 +00:00
wiz
60019e1e08 Unused. 2004-07-04 09:55:19 +00:00
seb
00cc0486ea Garbage collect BUILDLINK_PKGBASE.<pkg> from buildlink3: it is not anymore
used since revision 1.139 of mk/buildlink3/bsd.buildlink3.mk.
2004-05-17 21:32:33 +00:00
danw
dfdeab4b0e Pass -b to pkg_admin lsbest to make this work correctly on systems where the pkgdbdir passes through a symlink 2004-05-09 20:31:07 +00:00
tv
82b2f0a381 Use $(INSTALL), not $(INSTALL_DATA), to install a library. Some platforms
(e.g., Interix) still expect a shlib to be executable, and INSTALL_DATA
installs with mode 644 (non-executable).
2004-04-20 19:50:35 +00:00
reed
41235e4fdd Do not assume that if /usr/lib/libintl.* does not exist
that it can not be builtin.  So also check for "This file is part
of the GNU C Library".

This helps with systems that have gettext(3) functionality
included in their glibc.

This also fixes build problem under Linux where devel/popt didn't
build "because some functions are defined both in gettext-lib and
in the native libc" as reported by minskim to tech-pkg on 21/Mar/2004.
2004-04-06 01:29:25 +00:00
jmmv
cf490c2b62 Add a script to workaround uses of msgid_plural, which is not yet supported
by our native libintl.  While it is not implemented, this allows us to build
programs against the native libintl, loosing very few functionality (some
translations of plural messages on few languages), and avoiding runtime
conflicts between native libintl and the gnu one (coming from the gettext
package).

Packages including .po files with uses of msgid_plural should define the
USE_MSGFMT_PLURALS variable to 'yes', so that the msgfmt wrapper is used.
(Do not use it when not really needed, as it will pull in perl5 as a build
dependancy).
2004-04-01 18:33:20 +00:00
jlam
6d92080aa2 Match the template builtin.mk file in bsd.builtin.mk, and make the two
packages that use builtin.mk files (graphics/xpm and pkgtools/x11-links)
use the new format correctly.
2004-03-29 05:43:28 +00:00
jlam
426cc1ce72 Add a BUILDLINK_PKGBASE.<pkg> definition where it's not equal to <pkg>,
e.g. "BUILDLINK_PKGBASE.gtk?= gtk+".  This is mandated by the example
buildlink[23].mk files in bsd.buildlink[23].mk.
2004-03-29 05:05:32 +00:00
jlam
ec6193ca9d Assume that the native gettext implementation will satisfy GNU gettext
dependencies unless USE_GNU_GETTEXT is defined or IMCOMPAT_GETTEXT is set
appropriately.  This should allow packages to use the glibc gettext
routines on Linux.
2004-03-22 20:57:38 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
jlam
59bdf89739 If the ${PKGBASE} of a package doesn't match the token passed to
BUILDLINK_PACKAGES, then set BUILDLINK_PKGBASE.<pkg> explicitly so that
we can map from <pkg> to BUILDLINK_PKGBASE.<pkg>.
2004-03-16 18:23:26 +00:00
jlam
59fad5b9f8 Manipulate the buildlink depth so that libiconv and Xfixes aren't added
to BUILDLINK_DEPENDS unless their respective buildlink3.mk files are
included by the top-level Makefile.
2004-03-16 17:40:54 +00:00
jlam
d0b4c54eb6 Split out the code that deals with checking whether the software is
built-in or not into a separate builtin.mk file.  The code to deal
checking for built-in software is much simpler to deal with in pkgsrc.

The buildlink3.mk file for a package will be of the usual format
regardless of the package, which makes it simpler for packagers to
update a package.

The builtin.mk file for a package must define a single yes/no variable
USE_BUILTIN.<pkg> that is used by bsd.buildlink3.mk to decide whether
to use the built-in software or to use the pkgsrc software.
2004-03-10 17:57:14 +00:00
reed
491c5d65f1 Improvements for DESCRiption and COMMENT.
(The DESCRiption was same as the other gettext package,
and the COMMENT mentioned "Tools".)
2004-03-08 18:14:33 +00:00
jlam
bf6e059da4 Reorder some lines so that BUILDLINK_USE_BUILTIN.<pkg> set in the
environment overrides all other settings.
2004-02-18 16:35:27 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
jlam
7788e26d45 USE_BUILDLINK should be "yes", not just defined. 2004-02-14 16:17:02 +00:00
grant
52f1b46a37 remove unneeded CONFIG_{GUESS,SUB}_OVERRIDE, as bsd.pkg.mk does this
automatically now.
2004-02-14 00:54:44 +00:00
jlam
d2b62c66fb Create a new variable PREFER_NATIVE that has the opposite semantics
as PREFER_PKGSRC.  Preferences are determined by the most specific
instance of the package in either PREFER_PKGSRC or PREFER_NATIVE.  If
a package is specified in neither or in both variables, then PREFER_PKGSRC
has precedence over PREFER_NATIVE.
2004-02-12 02:35:06 +00:00
jlam
1edfa505ed Reorganize code so that any dependencies are checked as part of deciding
whether the software is built-in or not.  This facilitates implementing
the forthcoming PKGSRC_NATIVE variable.
2004-02-12 01:59:37 +00:00
jlam
7c68eb548f Move the INCOMPAT_FOO checks to a more natural location within the
block that decides whether package FOO is built-in or not.  If the
platform is listed in IMCOMPAT_FOO, then treat FOO as being not
built-in.
2004-02-11 11:30:49 +00:00
jlam
7699290f10 If we're passing through MAKEFLAGS variables whose values may contain
spaces, use the :Q modifier instead of double-quoting the value.  This
avoids breakage when executing the just-in-time su targets.
2004-02-06 19:04:24 +00:00
jlam
317cc72791 Make PREFER_PKGSRC just yes/no or a list of packages. This makes it
simpler to understand.
2004-02-05 07:17:14 +00:00
jlam
e7133cac25 Rename BUILDLINK_PREFER_PKGSRC to PREFER_PKGSRC so that we can use its
value outside of buildlink-related files.
2004-02-05 07:06:15 +00:00
jlam
07a9d8dfb2 Support a new global variable:
BUILDLINK_PREFER_PKGSRC
	This variable determines whether or not to prefer the pkgsrc
	versions of software that is also present in the base system.

	This variable is multi-state:
		defined, or "yes"	always prefer the pkgsrc versions
		not defined, or "no"	only use the pkgsrc versions if
					needed by dependency requirements

	This can also take a list of packages for which to prefer the
	pkgsrc-installed software.  The package names may be found by
	consulting the value added to BUILDLINK_PACKAGES in the
	buildlink[23].mk files for that package.
2004-02-05 06:58:02 +00:00
jlam
01a5abff01 Support BUILDLINK_DEPENDS.<pkg> being a list of values. 2004-01-24 03:12:31 +00:00
tron
1c3192189f Don't use "-Wl" on platforms which define "_USE_RPATH" to "no". This
fixes build problems under Darwin.
2004-01-15 23:04:00 +00:00
jlam
5997a8acaf Add some double quotes and move a section into a protected region so we
don't keep re-evaluating it.
2004-01-11 06:29:38 +00:00
jlam
27458276fc Use l:foo: instead of S:...: to remove a library. 2004-01-06 19:13:13 +00:00
jlam
2a243f33ac It's "overwrite" not "overview"!! 2004-01-06 04:37:52 +00:00
jlam
2c03f435c8 bl3ify 2004-01-05 11:17:10 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
83a20f5433 Don't need to set BUILDLINK_PREFIX.gettext explicitly as bsd.buildlink3.mk
does it correctly for us.
2004-01-05 09:37:05 +00:00
jlam
c9ff27d270 Sow BUILDLINK_USE_BUILTIN.<pkg> and reap _NEED_<PKG> variables. 2004-01-05 09:31:31 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
jlam
339cd13cb2 Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
2004-01-03 23:06:43 +00:00
danw
e06a3e973e add -DSTATIC=static to the Darwin-specific defines so that libintl
doesn't completely gratuitously export a symbol that conflicts with
libiconv
2003-09-25 03:00:57 +00:00
wiz
b6a06da843 Undo last. While it may make live easier, it's not good for binary
packages.
2003-08-02 09:25:44 +00:00
grant
924e3daff6 when determining whether iconv is required, don't require gettext-lib
0.11.5nb1 or higher, 0.11.5 is good enough.

fixes build with slightly older installation of gettext-lib.
2003-08-02 05:59:20 +00:00
martti
e69ab8c365 COMMENT should start with a capital letter. 2003-07-21 16:35:12 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
wiz
1f6effdcaf Only depend on gettext-lib>=0.11.5nb1 if iconv is needed.
Noted by Matthias Scheler.
2003-07-14 09:32:43 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jschauma
39c404f625 Revert last after libtool now behaves as expected. 2003-03-27 18:59:37 +00:00
jschauma
f0c026d2f4 Make this install using the correct major under Irix. Oddly, libtool determines
the right version for most other packages (AFAICT), but this package seems
to be different.
2003-03-27 15:39:38 +00:00
jmmv
fc675ae0c8 Fix build on Darwin, using patch in PR pkg/20396 by Yves de Champlain. 2003-03-22 11:35:44 +00:00
jlam
3ef633718c (1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
Makefiles simply need to use this value often, for better or for
    worse.

(2) Create a new variable FIX_RPATH that lists variables that should
    be cleansed of -R or -rpath values if ${_USE_RPATH} is "no".  By
    default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
    additional variables may be appended from package Makefiles.
2003-03-14 19:37:30 +00:00
jlam
a0020ab00f Use BUILDLINK_LIBICONV_LDADD instead of hard-coding "-liconv". This should
fix the problem where gettext-lib on certain OSes that already have iconv
functions in libc don't need to link against libiconv.
2003-03-07 05:59:48 +00:00
jlam
d2939d01fe Avoid a conditional based on the value of GNU_CONFIGURE. This allows
gettext-lib/buildlink2.mk to be included anywhere in a Makefile instead
of only after where GNU_CONFIGURE may be defined.
2003-01-05 22:16:53 +00:00
jlam
db5abc6f54 Remove -no-undefined from libtool arguments as it causes gettext-lib to
not build a shared library on platforms that libtool thinks can't handle
inter-library dependencies, e.g. OpenBSD and Solaris.
2002-12-23 14:54:22 +00:00
jlam
c3eb9a3255 These packages are no longer needed to bootstrap buildlink2. Simplify the
building of these packages by using buildlink2.
2002-12-22 19:04:07 +00:00
jlam
efefdc43bd Add "-liconv" along with "-lintl" to LIBS if we are using a newish (0.11.x)
gettext.
2002-12-20 07:11:42 +00:00
schmonz
b3b7f82b4e Work around a obscure compiler error in devel/gtexinfo on Darwin. Patch from
<URL:http://mail.gnu.org/pipermail/bug-gnu-utils/2002-September/002920.html>.
2002-12-12 08:59:10 +00:00
jlam
da7a2ac9f5 Allow an installed gettext-lib-0.10.35nb1 to satisfy gettext dependencies
if we don't actually require gettext-lib>=0.11.5.  For other installations
where keeping an older gettext around isn't wanted, convert the gettext
dependency to >=0.11.5 and include the necessary buildlink2 magic for
libiconv support.
2002-12-11 22:22:47 +00:00
drochner
d30acbc4c4 oops, the 0.11.5 should be for the GNU gettext case only.
Do it better now - ugly but the logic here is a bit twisted.
2002-12-10 20:00:57 +00:00
drochner
13f2f0cc41 require gettext-lib>=0.11.5. Linking against an old one can lead to
confusion.
2002-12-10 19:46:29 +00:00
jlam
0f9709c801 gettext-0.11.5's gettext.m4, used by newer GNU configure scripts, no longer
uses a compile/link test to determine the presence or absence of libintl.
Instead it uses a file existence test for libintl.{a,so,la} in specific
directories.  buildlink2 can't work around this, but gettext.m4 does
provide a new configure option "--with-libintl-prefix" to specify in which
directory to look for libintl, so use it.  It's harmless on older GNU
configure scripts as they will ignore unknown options, but it will fix
gettext detection with newer GNU configure scripts that use the new
gettext.m4.  Also protect a forced cache value from being passed to the
configure script unless libintl really does exist.
2002-12-02 22:06:55 +00:00
jlam
07d6b42666 The correct style is "foo-[0-9]*", not "foo-*", when wildcarding a package
for a dependency match.
2002-12-02 11:26:44 +00:00
jlam
bf1f0b5251 Simplify by using BUILD_DIRS instead of custom do-build and do-install
targets.
2002-12-02 11:24:40 +00:00
drochner
16af549a21 bite the bullet and upgrade to 0.11.5
There are too many changes to list in a sensible way.
The most visible change for me is that libintl requires libiconv now.
Also untangled the 3 sub-pkgs -- a common patch dir makes it too complex.

This pkg used to expose buildlink2 problems - the pkg libintl was
pulled in in cases where USE_GNU_GETTEXT was not set. There were
some improvements to libtool filtering, and x11/gtk builds now, so
I hope this is settled.
2002-11-27 17:41:05 +00:00
jlam
25e15d0369 Add a default _BLNK_LIBINTL_FOUND definition (used later in the file) in
the USE_GNU_GETTEXT == YES case.
2002-11-26 21:56:07 +00:00
jlam
df076ce1a8 More changes to try to get gettext-lib/buildlink2.mk to work properly on
Linux systems that include gettext() routines in glibc.  We now properly
substitute for libintl.la references in libtool archives, and we don't
produce the fake libintl.la since it has no meaning if there is not a real
libintl.
2002-11-26 10:25:05 +00:00
jlam
be6a887a9d Allow for Linux systems where the gettext() routines are incorporated into
glibc instead of in a separate libintl.
2002-11-20 08:48:03 +00:00
jlam
2d05f52f17 This file appears to be unused now. 2002-11-14 23:12:39 +00:00
wiz
462f42b076 dylan-* still need this. 2002-10-24 17:04:15 +00:00
wiz
57633167f9 Unused. 2002-10-23 11:52:28 +00:00
jlam
05e99838f5 Remove GETTEXT_REQD knob...just using the available
BUILDLINK_DEPENDS.gettext knob is sufficient.
2002-10-16 22:13:52 +00:00
jlam
4b4d51ab11 Create GETTEXT_REQD variable that defaults to "0.10.35nb1" and represents
the version of the gettext library needed by a package.  The system libintl
is considered to be equivalent to "gettext-lib-0.10.35nb1".  Add a few
additional bits to fool newer configure scripts into accepting the system
libintl if GETTEXT_REQD == 0.10.35nb1.
2002-10-16 22:07:47 +00:00
jlam
e93173bd31 Check that /usr/lib/libintl.* also exists before we use the system libintl
instead of GNU gettext from pkgsrc.  Fixes pkg/18570.
2002-10-07 19:11:16 +00:00
jlam
7465b42efd We want to say -L${BUILDLINK_PREFIX.gettext-lib}/lib, not
-L${BUILDLINK_DIR}/lib, because we don't need to lie to the compiler
anymore.
2002-09-27 00:44:33 +00:00
jlam
47752131c1 buildlink2 doesn't care about _USE_RPATH...it will do the right thing for
each platform anyway.
2002-09-24 22:10:59 +00:00
jlam
02234080c8 Create a dummy libtool archive for the system libintl.*, otherwise, in the
future when pkgsrc's libintl.so depends on libiconv.so, libtool will be
confused and use the wrong libintl when we want the system one.
2002-09-18 01:05:45 +00:00
jlam
14351923a1 Merge devel/gettext-lib from buildlink2 back into the main trunk. This
package is used to build shells/bash2, which is needed to use buildlink2
on Darwin.
2002-08-23 01:22:40 +00:00
seb
3975007add Solaris fix... Now that gettext-lib's buildlink.mk makes it required on Solaris
fix build and PLIST:
- obey PKGLOCALEDIR
- fix libtool's install mode invocation.
2002-08-19 19:20:30 +00:00
jlam
d88554c247 Create new variables INCOMPAT_ZLIB, INCOMPAT_BZIP2, INCOMPAT_READLINE,
INCOMPAT_GETTEXT that are analogous to INCOMPAT_ICONV and contain lists of
shell wildcards intended to match against ${MACHINE_PLATFORM}.  These
variables are used to note those platforms that have the named packages in
the base system but are incompatible in some way from the pkgsrc version
of the same package.  Change INCOMPAT_CURSES to have the same sematics as
above.  These variables allow much greater precision in specifying which
platforms have broken (for the purposes of pkgsrc) versions of software in
the base system that must be ignored.

The buildlink.mk files for these packages define private _INCOMPAT_*
versions of these variables, and they contain the default lists of
platforms that are known to have incompatible software bits.

This addresses pkg/17775 submitted by Julien T. Letessier
<julien.letessier at sun dot com>.
2002-08-07 06:10:32 +00:00
schmonz
4acf5a5358 Use CONFIG_{GUESS,SUB}_OVERRIDE to fix build problem on Darwin, noted by
Randy Beaudreault <maccult@pacbell.net>.
2002-07-19 03:07:21 +00:00
wiz
3ca5c72084 Only use -R if the linker supports it. Patch by Rob Latham in pkg/15652. 2002-02-21 12:08:32 +00:00
hubertf
5542206cba Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.

Example #1:
        DISTNAME=       foo-X.Y
        PKGREVISION=    Z
     => PKGNAME=        foo-X.YnbZ

Example #2:
        DISTNAME=       barthing-X.Y
        PKGNAME=        bar-X.Y
        PKGREVISION=    Z
     => PKGNAME=        bar=X.YnbZ (!)

On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
2001-11-29 01:12:24 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
jlam
7146b14699 Define INTLLIBS to be the flags needed to link against libintl.a, and pass
${INTLLIBS} through to the configure environment.  This should fix
pkg/14360 (x11/gtk: gtk-config does not list "-lintl") by Jun-ichiro itojun
Hagino <itojun@itojun.org>.
2001-10-26 19:18:36 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00
jlam
d0c69a0d50 Pass the appropriate linker flags in LIBS along with -lintl to ensure that
-lintl is picked up by the linker.
2001-08-25 02:35:25 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
jlam
7b1d3cb465 Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:31 +00:00