diff options
Diffstat (limited to 'textproc/diction/patches/patch-aa')
-rw-r--r-- | textproc/diction/patches/patch-aa | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/textproc/diction/patches/patch-aa b/textproc/diction/patches/patch-aa new file mode 100644 index 00000000000..28bc531ceec --- /dev/null +++ b/textproc/diction/patches/patch-aa @@ -0,0 +1,64 @@ +$NetBSD: patch-aa,v 1.1 2007/12/04 00:57:38 bjs Exp $ + +--- Makefile.in.orig 2007-08-03 06:05:15.000000000 -0400 ++++ Makefile.in +@@ -11,14 +11,14 @@ VPATH= @srcdir@ + prefix= @prefix@ + exec_prefix= @exec_prefix@ + datarootdir= @datarootdir@ +-localedir= @localedir@ ++localedir= /usr/pkg/share/locale + + CC= @CC@ + CFLAGS= @CFLAGS@ + CPPFLAGS= @CPPFLAGS@ -I. -DSHAREDIR=\"@datarootdir@\" -DLOCALEDIR=\"$(localedir)\" + LDFLAGS= @LDFLAGS@ + LIBM= -lm +-LIBS= @LIBS@ ++LIBS= @LIBS@ ${LIBPCREPOSIX} + + CATALOGS= de.mo en_GB.mo nl.mo + +@@ -26,13 +26,13 @@ all: diction style all-po-@USE_NLS@ + all-po-no: + all-po-yes: $(CATALOGS) + +-diction: diction.o sentence.o misc.o getopt.o getopt1.o +- $(CC) -o $@ $(LDFLAGS) diction.o sentence.o misc.o \ +- getopt.o getopt1.o $(LIBS) +- +-style: style.o sentence.o misc.o getopt.o getopt1.o +- $(CC) -o $@ $(LDFLAGS) style.o sentence.o misc.o \ +- getopt.o getopt1.o $(LIBM) $(LIBS) ++diction: diction.o sentence.o misc.o ++ ${LIBTOOL} --mode=link --tag=CC $(CC) -o $@ $(LDFLAGS) \ ++ diction.lo sentence.lo misc.lo $(LIBS) ++ ++style: style.o sentence.o misc.o ++ ${LIBTOOL} --mode=link --tag=CC $(CC) -o $@ $(LDFLAGS) \ ++ diction.lo sentence.lo misc.lo $(LIBM) $(LIBS) + + check: diction + for i in $(srcdir)/test/test*; do $$i || break; done +@@ -61,7 +61,7 @@ install-po-yes: $(CATALOGS) + done + + .c.o: +- $(CC) -c $(CPPFLAGS) $(CFLAGS) $< ++ ${LIBTOOL} --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) -prefer-pic $< + + .SUFFIXES: .po .mo + +@@ -110,10 +110,8 @@ tar: distclean + (b=`pwd`; b=`basename $$b`; cd ..; tar zcvf $$b.tar.gz $$b/COPYING $$b/INSTALL $$b/Makefile.in $$b/README $$b/NEWS $$b/configure $$b/install-sh $$b/de $$b/en $$b/en_GB $$b/nl $$b/test $$b/[a-z]*.*) + #}}} + #{{{ dependencies +-diction.o: diction.c config.h getopt.h misc.h sentence.h +-getopt.o: getopt.c getopt.h getopt_int.h +-getopt1.o: getopt1.c getopt.h getopt_int.h ++diction.o: diction.c config.h misc.h sentence.h + misc.o: misc.c config.h misc.h + sentence.o: sentence.c config.h misc.h sentence.h +-style.o: style.c config.h getopt.h misc.h sentence.h ++style.o: style.c config.h misc.h sentence.h + #}}} |