diff options
author | dholland <dholland> | 2012-08-22 19:44:27 +0000 |
---|---|---|
committer | dholland <dholland> | 2012-08-22 19:44:27 +0000 |
commit | e50686814cf8d062234dd45dc1fb0544822f0cbb (patch) | |
tree | 85a1d3b85e34b70f24420e345b8f609b2652b088 /print/xetex | |
parent | 788dfe4510d9dd1059db907af5d616dc38ef35dc (diff) | |
download | pkgsrc-e50686814cf8d062234dd45dc1fb0544822f0cbb.tar.gz |
Disable -ffunction-sections -fdata-sections and accompanying
--gc-sections on netbsd because --gc-sections doesn't work with the
netbsd-4 and netbsd-5 linker. See PR 46698 and PR 40401.
Bump PKGREVISION because this changes the compiled package on netbsd-6.
Diffstat (limited to 'print/xetex')
-rw-r--r-- | print/xetex/Makefile | 4 | ||||
-rw-r--r-- | print/xetex/distinfo | 3 | ||||
-rw-r--r-- | print/xetex/patches/patch-libs_icu_icu-49_1_configure | 22 |
3 files changed, 26 insertions, 3 deletions
diff --git a/print/xetex/Makefile b/print/xetex/Makefile index 14524a9aab5..b6097476dab 100644 --- a/print/xetex/Makefile +++ b/print/xetex/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.13 2012/08/13 10:42:18 drochner Exp $ +# $NetBSD: Makefile,v 1.14 2012/08/22 19:44:27 dholland Exp $ DISTNAME= texlive-20120701-source PKGNAME= xetex-0.9998 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= print MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/ EXTRACT_SUFX= .tar.xz diff --git a/print/xetex/distinfo b/print/xetex/distinfo index 1e1d9b8394d..0cd02dd2f09 100644 --- a/print/xetex/distinfo +++ b/print/xetex/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.11 2012/07/31 18:44:03 wiz Exp $ +$NetBSD: distinfo,v 1.12 2012/08/22 19:44:27 dholland Exp $ SHA1 (texlive-20120701-source.tar.xz) = e41ef31eba27891f3434e01638d3559cc6958016 RMD160 (texlive-20120701-source.tar.xz) = df09b657919a3f203309645028803098f52bbac9 Size (texlive-20120701-source.tar.xz) = 131904044 bytes +SHA1 (patch-libs_icu_icu-49_1_configure) = 3e21058a60b628c948b5156f911eab2aa5e4aaf7 SHA1 (patch-texk_web2c_xetexdir_XeTeX__ext.c) = a83e842b567db6acb35cfab5303a7e96845fa953 diff --git a/print/xetex/patches/patch-libs_icu_icu-49_1_configure b/print/xetex/patches/patch-libs_icu_icu-49_1_configure new file mode 100644 index 00000000000..d601482a3eb --- /dev/null +++ b/print/xetex/patches/patch-libs_icu_icu-49_1_configure @@ -0,0 +1,22 @@ +$NetBSD: patch-libs_icu_icu-49_1_configure,v 1.1 2012/08/22 19:44:28 dholland Exp $ + +Disable -ffunction-sections -fdata-sections and accompanying +--gc-sections on netbsd because --gc-sections doesn't work with the +netbsd-4 and netbsd-5 linker. See PR 46698 and PR 40401. + +At some point this patch should probably be made less blunt, and/or +upstream should fix it to test if the options work instead of going by +OS type. + +--- libs/icu/icu-49.1/configure~ 2012-03-21 15:06:23.000000000 +0000 ++++ libs/icu/icu-49.1/configure +@@ -5259,6 +5259,9 @@ $as_echo_n "checking whether we can use + OLD_LDFLAGS="${LDFLAGS}" + + case "${host}" in ++ *-netbsd*) ++ # --gc-sections does not work on netbsd-4 and netbsd-5 ++ ;; + *-linux*|i*86-*-*bsd*|i*86-pc-gnu) + if test "$ac_cv_c_compiler_gnu" = yes; then + CPPFLAGS="${CPPFLAGS} -ffunction-sections -fdata-sections" |