Fixed gettext
This commit is contained in:
@@ -3,12 +3,17 @@ VERSION=0.26
|
||||
SRC=${PACKAGE}-${VERSION}.tar.gz
|
||||
URL=${SITE_GNU}/${PACKAGE}/${SRC}
|
||||
CATEGORY=libs
|
||||
DEPENDS="libs/libiconv"
|
||||
DEPENDS="libs/libiconv textproc/texinfo"
|
||||
|
||||
configure() {
|
||||
echo "Configuring $PACKAGE"
|
||||
cd "${SRCDIR}/${PACKAGE}-${VERSION}"
|
||||
./configure
|
||||
|
||||
sed -i 's@LTLIBICONV = -L/usr/local/lib -liconv -R/usr/local/lib@LTLIBICONV = -liconv -R/usr/local/lib@' "${SRCDIR}/${PACKAGE}-${VERSION}/gettext-tools/gnulib-lib/Makefile"
|
||||
|
||||
cp "${HERE}/files/gettext-tools-src-Makefile" "${SRCDIR}/${PACKAGE}-${VERSION}/gettext-tools/src/Makefile"
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
8427
libs/gettext/files/gettext-tools-src-Makefile
Normal file
8427
libs/gettext/files/gettext-tools-src-Makefile
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,76 +0,0 @@
|
||||
--- gettext-0.26.orig/Makefile.am Fri May 2 01:45:49 2025
|
||||
+++ gettext-0.26/Makefile.am Sat Sep 20 21:33:03 2025
|
||||
@@ -19,7 +19,7 @@
|
||||
AUTOMAKE_OPTIONS = 1.5 gnu
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
-SUBDIRS = gnulib-local gettext-runtime libtextstyle gettext-tools
|
||||
+SUBDIRS = gnulib-local gettext-runtime libtextstyle
|
||||
|
||||
changelog_etc = \
|
||||
gettext-runtime/ChangeLog.0 \
|
||||
@@ -31,23 +31,6 @@
|
||||
gettext-runtime/man/ChangeLog.0 \
|
||||
gettext-runtime/src/ChangeLog.0 \
|
||||
gettext-runtime/tests/ChangeLog.0 \
|
||||
- gettext-tools/ChangeLog.0 \
|
||||
- gettext-tools/doc/ChangeLog.0 \
|
||||
- gettext-tools/doc/ChangeLog.1 \
|
||||
- gettext-tools/examples/ChangeLog.0 \
|
||||
- gettext-tools/gnulib-tests/ChangeLog.0 \
|
||||
- gettext-tools/libgettextpo/ChangeLog.0 \
|
||||
- gettext-tools/libgrep/ChangeLog.0 \
|
||||
- gettext-tools/m4/ChangeLog.0 \
|
||||
- gettext-tools/man/ChangeLog.0 \
|
||||
- gettext-tools/man/ChangeLog.1 \
|
||||
- gettext-tools/misc/ChangeLog.0 \
|
||||
- gettext-tools/projects/ChangeLog.0 \
|
||||
- gettext-tools/src/ChangeLog.0 \
|
||||
- gettext-tools/src/ChangeLog.1 \
|
||||
- gettext-tools/styles/ChangeLog.0 \
|
||||
- gettext-tools/tests/ChangeLog.0 \
|
||||
- gettext-tools/tests/ChangeLog.1 \
|
||||
gnulib-local/ChangeLog.0
|
||||
|
||||
EXTRA_DIST = \
|
||||
@@ -62,30 +45,9 @@
|
||||
m4/libtool.m4
|
||||
|
||||
# Additional dependencies for configure, due to the use of autoconf --trace.
|
||||
-$(srcdir)/configure: $(srcdir)/gettext-runtime/configure.ac $(srcdir)/gettext-tools/configure.ac
|
||||
+$(srcdir)/configure: $(srcdir)/gettext-runtime/configure.ac
|
||||
|
||||
-distcheck-hook:
|
||||
-# Verify that some files are the same.
|
||||
- cmp -s $(srcdir)/gettext-runtime/po/Makefile.in.in $(srcdir)/gettext-tools/po/Makefile.in.in
|
||||
- cmp -s $(srcdir)/gettext-runtime/po/Rules-quot $(srcdir)/gettext-tools/po/Rules-quot
|
||||
- cmp -s $(srcdir)/gettext-runtime/po/boldquot.sed $(srcdir)/gettext-tools/po/boldquot.sed
|
||||
- cmp -s $(srcdir)/gettext-runtime/po/quot.sed $(srcdir)/gettext-tools/po/quot.sed
|
||||
- cmp -s $(srcdir)/gettext-runtime/po/en@quot.header $(srcdir)/gettext-tools/po/en@quot.header
|
||||
- cmp -s $(srcdir)/gettext-runtime/po/en@boldquot.header $(srcdir)/gettext-tools/po/en@boldquot.header
|
||||
- cmp -s $(srcdir)/gettext-runtime/po/insert-header.sed $(srcdir)/gettext-tools/po/insert-header.sed
|
||||
- cmp -s $(srcdir)/gettext-runtime/po/remove-potcdate.sed $(srcdir)/gettext-tools/po/remove-potcdate.sed
|
||||
- cmp -s $(srcdir)/gettext-runtime/po/remove-potcdate.sed $(srcdir)/gettext-tools/examples/po/remove-potcdate.sed
|
||||
- cmp -s $(srcdir)/gettext-runtime/m4/build-to-host.m4 $(srcdir)/gettext-tools/gnulib-m4/build-to-host.m4
|
||||
- cmp -s $(srcdir)/gettext-runtime/m4/gettext.m4 $(srcdir)/gettext-tools/gnulib-m4/gettext.m4
|
||||
- cmp -s $(srcdir)/gettext-runtime/man/help2man $(srcdir)/gettext-tools/man/help2man
|
||||
- cmp -s $(srcdir)/gettext-runtime/man/x-to-1.in $(srcdir)/gettext-tools/man/x-to-1.in
|
||||
- cmp -s $(srcdir)/libtextstyle/m4/libtextstyle.m4 $(srcdir)/gettext-tools/gnulib-m4/libtextstyle.m4
|
||||
- cmp -s $(srcdir)/gettext-tools/examples/hello-java-awt/m4/TestAWT.java $(srcdir)/gettext-tools/examples/hello-java-swing/m4/TestAWT.java
|
||||
- cmp -s $(srcdir)/gettext-tools/examples/hello-java-awt/m4/TestAWT.class $(srcdir)/gettext-tools/examples/hello-java-swing/m4/TestAWT.class
|
||||
-# Verify that all files have appropriate copyright headers.
|
||||
- if test -d '$(distdir)'; then $(srcdir)/check-copyright-headers '$(distdir)'; fi
|
||||
|
||||
-
|
||||
# Windows support.
|
||||
|
||||
EXTRA_DIST += INSTALL.windows windows/windres-options windows/gettext.rc
|
||||
@@ -131,7 +93,7 @@
|
||||
test -e "$$log_fix" \
|
||||
&& amend_git_log="--amend=$$log_fix" \
|
||||
|| amend_git_log=; \
|
||||
- for d in . gettext-runtime/intl gettext-runtime/po gettext-tools/po; \
|
||||
+ for d in . gettext-runtime/intl gettext-runtime/po ; \
|
||||
do \
|
||||
test "$$d" = "." \
|
||||
&& cldir="$(distdir)" \
|
||||
Reference in New Issue
Block a user