diff options
author | garbled <garbled@pkgsrc.org> | 1998-12-01 23:27:36 +0000 |
---|---|---|
committer | garbled <garbled@pkgsrc.org> | 1998-12-01 23:27:36 +0000 |
commit | 461e0155724ce58529fadc08ca928489328f79f0 (patch) | |
tree | 5e307229ff355fd86eb14060d984270c7a4ca8ec /devel/cdk/patches/patch-aa | |
parent | 1c151468caac0728a710d94af6d6d30725e90b62 (diff) | |
download | pkgsrc-461e0155724ce58529fadc08ca928489328f79f0.tar.gz |
Initial import of cdk-4.9.6
the Curses Development Kit
Diffstat (limited to 'devel/cdk/patches/patch-aa')
-rw-r--r-- | devel/cdk/patches/patch-aa | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/devel/cdk/patches/patch-aa b/devel/cdk/patches/patch-aa new file mode 100644 index 00000000000..aec57d3d270 --- /dev/null +++ b/devel/cdk/patches/patch-aa @@ -0,0 +1,82 @@ +$NetBSD: patch-aa,v 1.1.1.1 1998/12/01 23:27:36 garbled Exp $ +--- Makefile.orig Wed Jul 15 13:27:08 1998 ++++ Makefile Tue Dec 1 14:39:56 1998 +@@ -9,14 +9,14 @@ + # AIX, Alpha, FreeBSD, HPUX, Linux, Linux-xcurses, + # Solaris, Sun, and Irix (SGI) + # +-OS = Solaris ++OS = NetBSD + + # + # These reflect where CDK will be installed from and to + # on your system. + # +-SRCDIR = $(HOME)/cdk-$(VERSION) +-INST_ROOTDIR = $(HOME)/local ++SRCDIR = $(WRKSRC) ++INST_ROOTDIR = $(PREFIX) + + # + # Set some informational variables. +@@ -51,7 +51,7 @@ + INST_LIBDIR = ${INST_ROOTDIR}/lib + INST_INCDIR = ${INST_ROOTDIR}/include + INST_MANDIR = ${INST_ROOTDIR}/man/man3 +-INST_SRCDIR = ${INST_ROOTDIR}/src/cdk ++INST_SRCDIR = ${INST_ROOTDIR}/share/examples/cdk + + # + # Add what ever flags you need for the CFLAGS. The following lists all of +@@ -80,7 +80,7 @@ + # NOSTRERR Your library does not have Sun + # the library function strerr. + # +-EXTRA_CFLAGS = -g -Wall ++EXTRA_CFLAGS = -Wall -I. + + ############################################################### + # Do Not Change Anything Below This Line +@@ -143,9 +143,9 @@ + # + # Standard library directive. + # +-cdklib $(CDKLIB): $(CDKOBJS) +- @ar r $(CDKLIB) $(CDKOBJS) +- @$(RANLIB) ++#cdklib $(CDKLIB): $(CDKOBJS) ++# @ar r $(CDKLIB) $(CDKOBJS) ++# @$(RANLIB) + + # + # Shared library directive. +@@ -214,7 +214,7 @@ + mkdir -p $(INST_SRCDIR); \ + fi; + @echo "Installing source example files..."; +- @$(RM) $(INST_SRCDIR)/Makefile; ++ @-$(RM) $(INST_SRCDIR)/Makefile; + @cp $(EXAMDIR)/examples.make $(INST_SRCDIR)/Makefile; + @(cd $(EXAMDIR); for i in $(EXAMSRC); do \ + echo " $(INST_SRCDIR)/$$i" ; \ +@@ -364,13 +364,13 @@ + # + # Clean up after ourselves... + # +-clean:: +- @echo "Cleaning files up..." +- $(RM) *.o $(CDKLIB) $(CDKSLIB) inst/*.o +- $(RM) core tst inst/vinstall inst/*.list +- (cd $(EXAMDIR); make clean) +- (cd $(CLIDIR); make clean) +- (cd $(DEMODIR); make clean) ++#clean:: ++# @echo "Cleaning files up..." ++# $(RM) *.o $(CDKLIB) $(CDKSLIB) inst/*.o ++# $(RM) core tst inst/vinstall inst/*.list ++# (cd $(EXAMDIR); make clean) ++# (cd $(CLIDIR); make clean) ++# (cd $(DEMODIR); make clean) + + # + # This makes the test program. |