Commit graph

68 commits

Author SHA1 Message Date
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
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
ed0debd89f Mark as USE_BUILDLINK_ONLY. 2001-06-28 18:30:26 +00:00