summaryrefslogtreecommitdiff
path: root/converters/mpack/patches
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-02-25 23:51:08 +0000
committertron <tron@pkgsrc.org>1998-02-25 23:51:08 +0000
commit59f81f7185101d7df7d6a024129d4b79c13ac1c6 (patch)
tree2a9f23ef9e7f5758fb67dcb5efc96608344cfb6a /converters/mpack/patches
parentc53c21a08fcf21ab2d11d5cf6ab2df4c1d72fcbd (diff)
downloadpkgsrc-59f81f7185101d7df7d6a024129d4b79c13ac1c6.tar.gz
Initial import of FreeBSD's "mpack" port.
Diffstat (limited to 'converters/mpack/patches')
-rw-r--r--converters/mpack/patches/patch-aa38
-rw-r--r--converters/mpack/patches/patch-ab54
2 files changed, 92 insertions, 0 deletions
diff --git a/converters/mpack/patches/patch-aa b/converters/mpack/patches/patch-aa
new file mode 100644
index 00000000000..08171df7667
--- /dev/null
+++ b/converters/mpack/patches/patch-aa
@@ -0,0 +1,38 @@
+*** Makefile.bak Fri Feb 17 00:39:41 1995
+--- Makefile Mon May 1 18:09:04 1995
+***************
+*** 1,5 ****
+! CFLAGS=$(OPT) $(DEFINES)
+! OPT=-O
+
+
+ #Uncomment the following line if your system does not have strchr()
+--- 1,5 ----
+! CFLAGS+=$(OPT) $(DEFINES)
+! #OPT=-O
+
+
+ #Uncomment the following line if your system does not have strchr()
+***************
+*** 42,51 ****
+ -mkdir $(DESTDIR)/bin
+ -mkdir $(DESTDIR)/man
+ -mkdir $(DESTDIR)/man/man1
+! install -s -m 755 mpack $(DESTDIR)/bin
+! install -s -m 755 munpack $(DESTDIR)/bin
+! install -m 644 unixpk.man $(DESTDIR)/man/man1/mpack.1
+! install -m 644 unixunpk.man $(DESTDIR)/man/man1/munpack.1
+
+ clean:
+ rm -f *.o mpack munpack
+--- 42,51 ----
+ -mkdir $(DESTDIR)/bin
+ -mkdir $(DESTDIR)/man
+ -mkdir $(DESTDIR)/man/man1
+! install -c -s -m 755 mpack $(DESTDIR)/bin
+! install -c -s -m 755 munpack $(DESTDIR)/bin
+! install -c -m 644 unixpk.man $(DESTDIR)/man/man1/mpack.1
+! install -c -m 644 unixunpk.man $(DESTDIR)/man/man1/munpack.1
+
+ clean:
+ rm -f *.o mpack munpack
diff --git a/converters/mpack/patches/patch-ab b/converters/mpack/patches/patch-ab
new file mode 100644
index 00000000000..81754bad4ed
--- /dev/null
+++ b/converters/mpack/patches/patch-ab
@@ -0,0 +1,54 @@
+*** unixos.c.bak Fri Feb 17 00:39:50 1995
+--- unixos.c Mon Nov 11 10:19:28 1996
+***************
+*** 89,95 ****
+--- 89,99 ----
+ strcpy(buf, getenv("TMPDIR"));
+ }
+ else {
++ #ifdef __FreeBSD__
++ strcpy(buf, "/var/tmp");
++ #else
+ strcpy(buf, "/usr/tmp");
++ #endif
+ }
+ strcat(buf, "/m-prts-");
+ p = getenv("USER");
+*** unixpk.man.bak Fri Feb 17 00:39:50 1995
+--- unixpk.man Mon Nov 11 10:19:46 1996
+***************
+*** 136,142 ****
+ .SH ENVIRONMENT
+ .TP
+ .B TMPDIR
+! Directory to store temporary files. Default is /usr/tmp.
+ .TP
+ .B SPLITSIZE
+ Default value of the -m switch.
+--- 136,142 ----
+ .SH ENVIRONMENT
+ .TP
+ .B TMPDIR
+! Directory to store temporary files. Default is /var/tmp.
+ .TP
+ .B SPLITSIZE
+ Default value of the -m switch.
+*** unixunpk.man.bak Fri Feb 17 00:39:50 1995
+--- unixunpk.man Mon Nov 11 10:19:59 1996
+***************
+*** 107,113 ****
+ .SH ENVIRONMENT
+ .TP
+ .B TMPDIR
+! Directory to store temporary files. Default is /usr/tmp.
+ .SH FILES
+ .TP
+ .B $TMPDIR/m-prts-$USER/
+--- 107,113 ----
+ .SH ENVIRONMENT
+ .TP
+ .B TMPDIR
+! Directory to store temporary files. Default is /var/tmp.
+ .SH FILES
+ .TP
+ .B $TMPDIR/m-prts-$USER/