summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/groff/src/libs/libgroff/Makefile6
-rw-r--r--gnu/usr.bin/groff/src/utils/indxbib/Makefile2
2 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/groff/src/libs/libgroff/Makefile b/gnu/usr.bin/groff/src/libs/libgroff/Makefile
index d8cfcf0..d768cf9 100644
--- a/gnu/usr.bin/groff/src/libs/libgroff/Makefile
+++ b/gnu/usr.bin/groff/src/libs/libgroff/Makefile
@@ -5,8 +5,8 @@ INTERNALLIB= YES
INTERNALSTATICLIB=YES
SRCS= assert.cc change_lf.cc cmap.cc cset.cc device.cc errarg.cc\
error.cc fatal.cc filename.cc font.cc fontfile.cc\
- htmlindicate.cc lf.cc\
- lineno.cc macropath.cc nametoindex.cc new.cc prime.cc\
+ htmlindicate.cc lf.cc lineno.cc macropath.cc\
+ maxfilename.cc nametoindex.cc new.cc prime.cc\
progname.cc ptable.cc searchpath.cc string.cc strsave.cc\
tmpfile.cc illegal.cc version.cc
SRCS+= getopt.c getopt1.c iftoa.c itoa.c matherr.c
@@ -18,5 +18,5 @@ version.cc: ${GROFF_DIST}/VERSION ${GROFF_DIST}/REVISION
@${ECHO} Making version.cc
@echo const char \*version_string = \"`cat ${GROFF_DIST}/VERSION`\"\; >$@
@echo const char \*revision_string = \"`cat ${GROFF_DIST}/REVISION`\"\; >>$@
- @echo const char \*Version_string = \"`cat ${GROFF_DIST}/VERSION`.`cat ${GROFF_DIST}/REVISION`\"\; | \
+ @echo extern \"C\" const char \*Version_string = \"`cat ${GROFF_DIST}/VERSION`.`cat ${GROFF_DIST}/REVISION`\"\; | \
sed -e 's/\.0\"/\"/' >>$@
diff --git a/gnu/usr.bin/groff/src/utils/indxbib/Makefile b/gnu/usr.bin/groff/src/utils/indxbib/Makefile
index 2fa2059..91e0a72 100644
--- a/gnu/usr.bin/groff/src/utils/indxbib/Makefile
+++ b/gnu/usr.bin/groff/src/utils/indxbib/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PROG= indxbib
-SRCS= indxbib.cc dirnamemax.c signal.c
+SRCS= indxbib.cc signal.c
DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM}
LDADD= ${LIBBIB} ${LIBGROFF} -lm
CLEANFILES= ${MAN}
OpenPOWER on IntegriCloud