| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.95 2011/05/14 16:49:45 bsiegert Exp $ | | 1 | # $NetBSD: Makefile,v 1.96 2012/02/07 22:11:40 fhajny Exp $ |
2 | | | 2 | |
3 | ########################################################################### | | 3 | ########################################################################### |
4 | ########################################################################### | | 4 | ########################################################################### |
5 | # | | 5 | # |
6 | # HEADS UP! DO NOT CHANGE THE VERSION OR PKGREVISION WITHOUT READING THIS: | | 6 | # HEADS UP! DO NOT CHANGE THE VERSION OR PKGREVISION WITHOUT READING THIS: |
7 | # | | 7 | # |
8 | ########################################################################### | | 8 | ########################################################################### |
9 | ########################################################################### | | 9 | ########################################################################### |
10 | # | | 10 | # |
11 | # This package is maintained specially in order to preserve pkgsrc | | 11 | # This package is maintained specially in order to preserve pkgsrc |
12 | # specific OS changes that diverge from the "out of the box" libtool. | | 12 | # specific OS changes that diverge from the "out of the box" libtool. |
13 | # In order to keep this package in a maintainable condition, the .m4 files | | 13 | # In order to keep this package in a maintainable condition, the .m4 files |
14 | # must be manipulated in order to generate the patch-* files. | | 14 | # must be manipulated in order to generate the patch-* files. |
| @@ -16,27 +16,27 @@ | | | @@ -16,27 +16,27 @@ |
16 | # See devel/libtool/patches/manual.README for instructions on how to make | | 16 | # See devel/libtool/patches/manual.README for instructions on how to make |
17 | # these patch files properly; otherwise your changes WILL be lost on the | | 17 | # these patch files properly; otherwise your changes WILL be lost on the |
18 | # next libtool update. | | 18 | # next libtool update. |
19 | # | | 19 | # |
20 | # DO NOT MAKE CHANGES TO patch-ab OR patch-ad WITHOUT FOLLOWING THESE | | 20 | # DO NOT MAKE CHANGES TO patch-ab OR patch-ad WITHOUT FOLLOWING THESE |
21 | # INSTRUCTIONS. There are no exceptions to this rule. | | 21 | # INSTRUCTIONS. There are no exceptions to this rule. |
22 | # | | 22 | # |
23 | ########################################################################### | | 23 | ########################################################################### |
24 | ########################################################################### | | 24 | ########################################################################### |
25 | | | 25 | |
26 | .include "../../devel/libtool/Makefile.common" | | 26 | .include "../../devel/libtool/Makefile.common" |
27 | | | 27 | |
28 | PKGNAME= ${DISTNAME:S/-/-base-/} | | 28 | PKGNAME= ${DISTNAME:S/-/-base-/} |
29 | PKGREVISION= 5 | | 29 | PKGREVISION= 6 |
30 | SVR4_PKGNAME= ltoob | | 30 | SVR4_PKGNAME= ltoob |
31 | | | 31 | |
32 | COMMENT= Generic shared library support script (the script itself) | | 32 | COMMENT= Generic shared library support script (the script itself) |
33 | | | 33 | |
34 | CONFLICTS+= libtool<=1.3.5nb11 | | 34 | CONFLICTS+= libtool<=1.3.5nb11 |
35 | | | 35 | |
36 | TEST_TARGET= check | | 36 | TEST_TARGET= check |
37 | PLIST_VARS+= shlibtool | | 37 | PLIST_VARS+= shlibtool |
38 | | | 38 | |
39 | OVERRIDE_DIRDEPTH.install-sh= 1 | | 39 | OVERRIDE_DIRDEPTH.install-sh= 1 |
40 | | | 40 | |
41 | .if ${OPSYS} == "AIX" | | 41 | .if ${OPSYS} == "AIX" |
42 | | | 42 | |
| @@ -47,26 +47,31 @@ LDFLAGS+= -Wl,-brtl | | | @@ -47,26 +47,31 @@ LDFLAGS+= -Wl,-brtl |
47 | CONFIGURE_ARGS+= --disable-libtool-lock | | 47 | CONFIGURE_ARGS+= --disable-libtool-lock |
48 | | | 48 | |
49 | .elif ${OPSYS} == "IRIX" | | 49 | .elif ${OPSYS} == "IRIX" |
50 | | | 50 | |
51 | # The MIPSpro compiler doesn't support -c with -o, but the locking | | 51 | # The MIPSpro compiler doesn't support -c with -o, but the locking |
52 | # workaround is itself broken. Disable it unconditionally. | | 52 | # workaround is itself broken. Disable it unconditionally. |
53 | CONFIGURE_ARGS+= --disable-libtool-lock | | 53 | CONFIGURE_ARGS+= --disable-libtool-lock |
54 | | | 54 | |
55 | .elif ${OPSYS} == "NetBSD" | | 55 | .elif ${OPSYS} == "NetBSD" |
56 | . if !exists(/usr/libexec/ld.so) && !exists(/usr/libexec/ld.elf_so) | | 56 | . if !exists(/usr/libexec/ld.so) && !exists(/usr/libexec/ld.elf_so) |
57 | CONFIGURE_ARGS+= --disable-shared | | 57 | CONFIGURE_ARGS+= --disable-shared |
58 | BUILD_SHLIBTOOL= NO | | 58 | BUILD_SHLIBTOOL= NO |
59 | . endif | | 59 | . endif |
| | | 60 | |
| | | 61 | .elif ${OPSYS} == "SunOS" |
| | | 62 | . if !empty(ABI:M64) |
| | | 63 | CFLAGS+= -m64 |
| | | 64 | . endif |
60 | .endif | | 65 | .endif |
61 | | | 66 | |
62 | BUILD_SHLIBTOOL?= YES | | 67 | BUILD_SHLIBTOOL?= YES |
63 | | | 68 | |
64 | # We are going to want libtool to find the same versions of the C, C++, | | 69 | # We are going to want libtool to find the same versions of the C, C++, |
65 | # and Fortran compilers. | | 70 | # and Fortran compilers. |
66 | # | | 71 | # |
67 | USE_LANGUAGES= c c++ fortran77 | | 72 | USE_LANGUAGES= c c++ fortran77 |
68 | CONFIGURE_ARGS+= --disable-ltdl-install | | 73 | CONFIGURE_ARGS+= --disable-ltdl-install |
69 | | | 74 | |
70 | USE_TOOLS+= echo | | 75 | USE_TOOLS+= echo |
71 | | | 76 | |
72 | .PHONY: fix-libtool | | 77 | .PHONY: fix-libtool |