$NetBSD: patch-ad,v 1.5 2007/10/16 14:06:35 obache Exp $ --- java/Makefile.in.orig 2007-03-07 02:47:59.000000000 +0000 +++ java/Makefile.in @@ -37,7 +37,7 @@ prefix = @prefix@ exec_prefix = @exec_prefix@ MYHEADDIR = @includedir@ MYLIBDIR = @libdir@ -MYDATADIR = @datadir@/$(PACKAGE)/java +MYDATADIR = @datadir@/doc/$(PACKAGE)/java DESTDIR = # Building binaries @@ -56,7 +56,7 @@ CPPFLAGS = @CPPFLAGS@ -I$(srcdir) -I$(sr @MYDEFS@ -D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__=1 -D_HPUX_SOURCE=1 \ -D_POSIX_MAPPED_FILES=1 -D_POSIX_SYNCHRONIZED_IO=1 \ -DPIC=1 -D_THREAD_SAFE=1 -D_REENTRANT=1 -DNDEBUG -CFLAGS = -Wall -fPIC -fsigned-char -O2 @MYOPTS@ +CFLAGS = ${PTHREAD_CFLAGS} -Wall -fPIC -fsigned-char -O2 @MYOPTS@ LD = @LD@ LIBS = -lqdbm @LIBS@ LIBLDFLAGS = @LDFLAGS@ -L. -L$(srcdir)/.. -L$(MYLIBDIR) -L$(HOME)/lib -L/usr/local/lib $(LIBS)