pkgsrc/textproc/sp/patches/patch-aa
jmmv 10a038e774 Use install -c instead of just install.
Mark unreal targets in Makefile.prog as .PHONY... let's see if this solves
the problem shown in bulk build.
2003-02-06 10:36:38 +00:00

27 lines
958 B
Text

$NetBSD: patch-aa,v 1.7 2003/02/06 10:36:38 jmmv Exp $
--- Makefile.orig Sat Oct 10 06:15:02 1998
+++ Makefile Thu Dec 16 22:42:56 1999
@@ -1,11 +1,11 @@
# Copyright (c) 1994, 1995 James Clark
# See the file COPYING for copying permission.
-prefix=/opt/local
+prefix=${PREFIX}
exec_prefix=$(prefix)
# Where to install the binaries
bindir=$(exec_prefix)/bin
-INSTALL=cp
+INSTALL=${BSD_INSTALL} -c
# You might want to uncomment this on BSD systems
#INSTALL=install
@@ -34,7 +34,7 @@
# which doesn't appropriately define sig_atomic_t).
# Add -DJADE_MIF to include the Jade MIF backend
XDEFINES=
-DEFINES=-DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE $(XDEFINES)
+DEFINES=-DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE $(XDEFINES) -DSGML_CATALOG_FILES_DEFAULT=\"${SGML_DEFAULT_CATALOG}\" -DSP_HAVE_LOCALE
CXXFLAGS=-ansi $(DEBUG) $(WARN)
# Flag to pass to CXX to make it output list of dependencies as a Makefile.
CXXDEPGENFLAGS=-MM