termux-packages/packages/libmaa/libmaa.patch
Ayanokoji Takesi cfa29e328c dictd (#2117)
Add libmaa and dictd packages.
2019-10-24 20:08:35 +03:00

44 lines
1.3 KiB
Diff

diff -u -r ../libmaa-1.3.2.orig/Makefile.in ./Makefile.in
--- ../libmaa-1.3.2.orig/Makefile.in 2011-04-11 00:06:20.000000000 +0900
+++ ./Makefile.in 2018-02-10 00:15:25.508838999 +0900
@@ -27,6 +27,7 @@
.SUFFIXES:
.SUFFIXES: .c .o
+top_builddir= @top_builddir@
srcdir= @srcdir@
VPATH= @srcdir@
prefix= @prefix@
@@ -37,6 +38,7 @@
CC= @CC@
CPP= @CPP@
+LD= @LD@
LIBTOOL= @LIBTOOL@
INSTALL= @INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
@@ -136,9 +138,9 @@
$(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ $@.o rnd.o $(LDFLAGS) $(TESTLIBS) $(LIBS)
$(MAALIB): $(LIBOBJS)
- $(LIBTOOL) --tag=CC --mode=link ${CC} -o libmaa.la ${LIBOBJS:.o=.lo} \
+ $(LIBTOOL) --tag=CC --mode=link $(CC) -o libmaa.la $(LIBOBJS:.o=.lo) \
$(LDFLAGS) $(LIBS) \
- -rpath "${libdir}" -export-symbols ${srcdir}/export.sym \
+ -rpath $(libdir) -export-symbols $(srcdir)/export.sym \
-version-info 3:0
$(LIBOBJS): $(HEADERS) # version.stamp # don't automatically bump version
diff -u -r ../libmaa-1.3.2.orig/configure.in ./configure.in
--- ../libmaa-1.3.2.orig/configure.in 2012-07-22 23:47:18.000000000 +0900
+++ ./configure.in 2018-02-10 00:15:25.508838999 +0900
@@ -38,7 +38,7 @@
AC_CANONICAL_HOST
AC_PROG_AWK
AC_PROG_CC
-#AC_PROG_LIBTOOL
+AC_PROG_LIBTOOL
AC_ISC_POSIX
if test "$CC" = gcc; then