freebsd-ports/graphics/djvulibre-nox11/files/patch-tools_Makefile.in
Stanislav Sedov 7427bff5aa - Eliminate leftovers in patch-tools_Makefile.in so any2djvu really gets
installed if selected.

PR:		ports/136436
Submitted by:	"Frank W. Josellis" <frank@dynamical-systems.org>
2009-07-08 12:04:04 +00:00

38 lines
1.3 KiB
Text

--- tools/Makefile.in.orig 2009-07-07 17:04:26.000000000 +0200
+++ tools/Makefile.in 2009-07-07 17:11:00.000000000 +0200
@@ -53,7 +53,7 @@
INCS = -I${top_builddir} -I${top_srcdir} -I${top_srcdir}/libdjvu -I${srcdir}
FLAGS = ${DEFS} ${INCS} ${OPTS} ${JPEG_CFLAGS} ${TIFF_CFLAGS} ${THREAD_CFLAGS}
-LIBS= @LDFLAGS@ @LIBS@
+LIBS= @LDFLAGS@ @LIBS@ @THREAD_LIBS@
MORELIBS= @LDFLAGS@ ${TIFF_LIBS} @LIBS@
CFLAGS = ${FLAGS} @CPPFLAGS@ @CFLAGS@
CXXFLAGS = ${FLAGS} ${CXXRPOFLAGS} @CPPFLAGS@ @CXXFLAGS@
@@ -83,7 +83,7 @@
install-scripts: FORCE
${INSTALL} -d ${DESTDIR}${bindir}
for n in ${SCRIPTS} ; do \
- ${INSTALL_PROGRAM} -m 0755 ${srcdir}/$$n ${DESTDIR}${bindir} \
+ ${INSTALL} -m 0755 ${srcdir}/$$n ${DESTDIR}${bindir} \
|| exit ; done
install-man: FORCE
@@ -127,7 +127,7 @@
cjb2: cjb2.o ${JB2OBJS}
${LIBTOOL} --mode=link \
- ${CXX} -o $@ ${CXXFLAGS} cjb2.o ${JB2OBJS} ${LIBDJVU} ${MORELIBS}
+ ${CXX} -o $@ ${CXXFLAGS} cjb2.o ${JB2OBJS} ${LIBDJVU} ${MORELIBS} ${THREAD_LIBS}
cpaldjvu: cpaldjvu.o ${JB2OBJS}
${LIBTOOL} --mode=link \
@@ -139,7 +139,7 @@
ddjvu: ddjvu.o tiff2pdf.o
${LIBTOOL} --mode=link \
- ${CXX} -o $@ ${CXXFLAGS} ddjvu.o tiff2pdf.o ${LIBDJVU} ${MORELIBS}
+ ${CXX} -o $@ ${CXXFLAGS} ddjvu.o tiff2pdf.o ${LIBDJVU} ${MORELIBS} ${THREAD_LIBS}
djvm: djvm.o
${LIBTOOL} --mode=link \