diff options
author | frueauf <frueauf@pkgsrc.org> | 1998-10-03 20:37:01 +0000 |
---|---|---|
committer | frueauf <frueauf@pkgsrc.org> | 1998-10-03 20:37:01 +0000 |
commit | 3b134730328c1c11763a438eee04335ff4fd7d18 (patch) | |
tree | 6a2df99a7b7a7e8ac7ec9c890517e8033481dbb9 /math/xldlas/patches | |
parent | 21a029badbc8357eeaf800a7ce037a8a6f5fa32d (diff) | |
download | pkgsrc-3b134730328c1c11763a438eee04335ff4fd7d18.tar.gz |
Initial addition of xldlas-0.85, an XForms-based statistics package.
Closes pr 6236 by Rene Hexel.
Diffstat (limited to 'math/xldlas/patches')
-rw-r--r-- | math/xldlas/patches/patch-aa | 67 | ||||
-rw-r--r-- | math/xldlas/patches/patch-ab | 21 |
2 files changed, 88 insertions, 0 deletions
diff --git a/math/xldlas/patches/patch-aa b/math/xldlas/patches/patch-aa new file mode 100644 index 00000000000..5d3931aeb10 --- /dev/null +++ b/math/xldlas/patches/patch-aa @@ -0,0 +1,67 @@ +$NetBSD: patch-aa,v 1.1.1.1 1998/10/03 20:37:02 frueauf Exp $ + +*** Makefile.orig Tue Apr 1 12:13:32 1997 +--- Makefile Mon Apr 27 01:10:50 1998 +*************** +*** 16,26 **** + # want to remove the -DXFORMS86 declaration in the CCFLAG + # assignment. + # +! CCFLAG = -O2 -Wall -DXFORMS86 +! CC = gcc +! COMMONLIBS = -L/usr/X11R6/lib/ -lX11 -lm +! SHAREDLIBS = -lforms +! STATICLIBS = -lXpm /usr/X11R6/lib/libforms.a + ECHO = echo + RM = rm + RMOPTS = -f +--- 16,26 ---- + # want to remove the -DXFORMS86 declaration in the CCFLAG + # assignment. + # +! CCFLAG = ${CFLAGS} -DXFORMS86 -DPREFIX=\"${PREFIX}\" -I${PREFIX}/include -I${PREFIX}/include/X11 +! #CC = gcc +! COMMONLIBS = -L${PREFIX}/lib/ -lX11 -lm +! SHAREDLIBS = -lxforms +! STATICLIBS = -lXpm ${PREFIX}/lib/libxforms.a + ECHO = echo + RM = rm + RMOPTS = -f +*************** +*** 29,37 **** + INSTALL = install + INSTALLOPTS = -d + +! BINDIR = /usr/local/bin +! MANDIR = /usr/man/man1 +! HELPDIR = /usr/local/xldlas/help + SRCDIR := $$PWD + USER := $$LOGNAME + +--- 29,37 ---- + INSTALL = install + INSTALLOPTS = -d + +! BINDIR = ${PREFIX}/bin +! MANDIR = ${PREFIX}/man/man1 +! HELPDIR = ${PREFIX}/share/xldlas/help + SRCDIR := $$PWD + USER := $$LOGNAME + +*************** +*** 115,121 **** + so the following commands will probably fail"; fi + @$(ECHO) + @$(CP) $(CPOPTS) xldlas $(BINDIR) +! @if test '/usr/local/xldlas' = $(SRCDIR); then \ + $(ECHO) Help Files Already in Place; else \ + $(INSTALL) $(INSTALLOPTS) ./help $(HELPDIR); fi + install.man: +--- 115,121 ---- + so the following commands will probably fail"; fi + @$(ECHO) + @$(CP) $(CPOPTS) xldlas $(BINDIR) +! @if test "${PREFIX}/share/xldlas" = $(SRCDIR); then \ + $(ECHO) Help Files Already in Place; else \ + $(INSTALL) $(INSTALLOPTS) ./help $(HELPDIR); fi + install.man: diff --git a/math/xldlas/patches/patch-ab b/math/xldlas/patches/patch-ab new file mode 100644 index 00000000000..0b19a78dab1 --- /dev/null +++ b/math/xldlas/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1.1.1 1998/10/03 20:37:02 frueauf Exp $ + +*** setstate.c.orig Mon May 12 10:42:06 1997 +--- setstate.c Mon Apr 27 01:10:29 1998 +*************** +*** 509,515 **** + } + + if(found_label == FALSE) +! strcpy(help_location,"/usr/local/xldlas/help/"); + strcpy(searcher,"test -r "); + strcat(searcher, help_location); + strcat(searcher,"general.help"); +--- 509,515 ---- + } + + if(found_label == FALSE) +! strcpy(help_location, PREFIX "/share/xldlas/help/"); + strcpy(searcher,"test -r "); + strcat(searcher, help_location); + strcat(searcher,"general.help"); |