diff options
author | Satoshi Taoka <taoka@FreeBSD.org> | 2000-02-13 16:02:49 +0000 |
---|---|---|
committer | Satoshi Taoka <taoka@FreeBSD.org> | 2000-02-13 16:02:49 +0000 |
commit | e17b5dbd50530512400663bd604d90033814f948 (patch) | |
tree | 5a01ecc9baf5258d5bd837ad952b827ce7f45bda /net/pmf/files/patch-ac | |
parent | e3ee7f76f9a731c8680552eaca200862f3a90b5d (diff) |
- Support CC/CFLAGS prolerly
- Move install path of utility data from lib/ to libdata/
- Fix pkg/PLIST
PR: 16682
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes:
svn path=/head/; revision=25751
Diffstat (limited to 'net/pmf/files/patch-ac')
-rw-r--r-- | net/pmf/files/patch-ac | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/net/pmf/files/patch-ac b/net/pmf/files/patch-ac new file mode 100644 index 000000000000..e0ac006c778f --- /dev/null +++ b/net/pmf/files/patch-ac @@ -0,0 +1,42 @@ +--- config.h.orig Fri Oct 29 18:25:35 1993 ++++ config.h Fri Feb 11 05:31:15 2000 +@@ -35,14 +35,16 @@ + * files instead. + * Note that "~" is not expanded in this directory name. + */ +-#define SYSTEM_DIR "/home/diagnostix3/ida/tompa/pmf-1.13.1/pmfdir/system_dir" ++#ifndef SYSTEM_DIR ++#define SYSTEM_DIR "/usr/local/libdata/pmf" ++#endif + + /* These are the names of some files, usually in the system directory + * SYSTEM_DIR that is #defined above. + * If these names start with a "/" they are considered + * relative to the root directory, otherwise to SYSTEM_DIR. + */ +-#define SYSTEM_DEFAULT_INIT_FILE ".pmfrc.default" ++#define SYSTEM_DEFAULT_INIT_FILE "pmfrc.default" + #define SYSTEM_NEWS_FILE "NEWS" + #define SYSTEM_HELP_DIR "helpfiles" + #define SYSTEM_SOUND_DIR "soundfiles" +@@ -63,7 +65,9 @@ + #define X_OUTPUT_PROGRAM "cat" + + /* What system? Define one either BSD or SYSV:*/ ++#ifndef BSD + #define BSD ++#endif + /* #define SYSV */ + + /* What ioctl do we use for the ttys? */ +@@ -71,6 +75,10 @@ + # define USE_TIOCGETP + #else + # define USE_TCGETA ++#endif ++ ++#ifdef BSD ++#define _cnt _r + #endif + + /* The prompt to print after doing a builtin command. 0 means no prompt. |