pkgsrc/textproc/ja-groff/patches/patch-ab
seb bc9506efc9 Reimport of package ja-groff from japanese/groff into textproc/ja-groff.
This is part of the japanese category retirement.
CATEGORIES adjusted.
2002-05-31 13:00:40 +00:00

34 lines
1.3 KiB
Text

$NetBSD: patch-ab,v 1.1.1.1 2002/05/31 13:00:40 seb Exp $
--- Makefile.in.orig Fri May 28 16:26:33 1999
+++ Makefile.in Fri May 28 16:34:14 1999
@@ -175,7 +175,21 @@
# -DHAVE_STRUCT_EXCEPTION if <math.h> defines struct exception
# -DRETSIGTYPE=int if signal handlers return int not void
# -DNIPPON enable japanese extention
-DEFINES=@DEFS@
+DEFINES= -DHAVE_UNISTD_H=1 \
+ -DHAVE_DIRENT_H=1 \
+ -DHAVE_LIMITS_H=1 \
+ -DHAVE_STDLIB_H=1 \
+ -DHAVE_SYS_DIR_H=1 \
+ -DHAVE_CC_LIMITS_H=1 \
+ -DHAVE_CC_UNISTD_H=1 \
+ -DUNISTD_H_DECLARES_GETOPT=1 \
+ -DSTDLIB_H_DECLARES_PUTENV=1 \
+ -DRETSIGTYPE=void \
+ -DHAVE_MMAP=1 \
+ -DHAVE_RENAME=1 \
+ -DHAVE_MKSTEMP=1 \
+ -DHAVE_SYS_SIGLIST=1 \
+ -DNIPPON=1
# Include fmod.o, strtol.o, getcwd.o, strerror.o, putenv.o in LIBOBJS if
# your C library is missing the corresponding function.
@@ -240,6 +254,7 @@
"CCFLAGS=$(CCFLAGS)" "CFLAGS=$(CFLAGS)" "LDFLAGS=$(LDFLAGS)" \
"YACC=$(YACC)" "YACCFLAGS=$(YACCFLAGS)" \
"LIBS=$(LIBS)" "LIBOBJS=$(LIBOBJS)" "RANLIB=$(RANLIB)" "AR=$(AR)" \
+ "INSTALL=$(INSTALL)" \
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" "INSTALL_DATA=$(INSTALL_DATA)" \
"ETAGS=$(ETAGS)" "ETAGSFLAGS=$(ETAGSFLAGS)" "ETAGSCCFLAG=$(ETAGSCCFLAG)" \
"PERLPATH=$(PERLPATH)" "SH_SCRIPT_SED_CMD=$(SH_SCRIPT_SED_CMD)" \