1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/misc/amanda/files/patch-ac
Steve Price 06bc5745f8 * Modified patches to support CC/INSTALL/PREFIX properly
* Stripped binaries
* Sorted pkg/PLIST

PR:		15226
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
1999-12-23 16:18:36 +00:00

113 lines
3.0 KiB
Plaintext

*** config/options.h-vanilla.orig Mon May 20 11:11:25 1996
--- config/options.h-vanilla Fri Dec 3 00:29:56 1999
***************
*** 42,51 ****
* LIBEXEC_DIR - Internal support programs
* MAN_DIR - Man pages
*/
! #define CONFIG_DIR "/etc/amanda"
! #define LIBEXEC_DIR "/usr/local/libexec/amanda"
! #define BIN_DIR "/usr/local/sbin"
! #define MAN_DIR "/usr/share/local/man/man8"
/*
--- 42,51 ----
* LIBEXEC_DIR - Internal support programs
* MAN_DIR - Man pages
*/
! #define CONFIG_DIR "%%PREFIX%%/etc/amanda"
! #define LIBEXEC_DIR "%%PREFIX%%/libexec/amanda"
! #define BIN_DIR "%%PREFIX%%/sbin"
! #define MAN_DIR "%%PREFIX%%/man/man8"
/*
***************
*** 53,66 ****
* I compile with -g to compile in a full symbol table, but you might choose
* to use -O or something else.
*/
! #define MK_CCOPTS -g
/*
* You can also redefine MK_CC here if you wish to override the system
* dependent C compiler. If you have a stable version of GCC, you may
* well want to use that instead of the system compiler.
*/
! /* #undef MK_CC */
! /* #define MK_CC gcc -Wall */
/*
--- 53,68 ----
* I compile with -g to compile in a full symbol table, but you might choose
* to use -O or something else.
*/
! #define MK_CCOPTS %%CFLAGS%%
/*
* You can also redefine MK_CC here if you wish to override the system
* dependent C compiler. If you have a stable version of GCC, you may
* well want to use that instead of the system compiler.
*/
! #undef MK_INSTALL
! #define MK_INSTALL %%INSTALL%%
! #undef MK_CC
! #define MK_CC %%CC%%
/*
***************
*** 77,83 ****
* Since 2.2.1 is a major change, I recommend defining this for existing
* Amanda sites.
*/
! #define USE_VERSION_SUFFIXES
/*
--- 79,85 ----
* Since 2.2.1 is a major change, I recommend defining this for existing
* Amanda sites.
*/
! /*#define USE_VERSION_SUFFIXES*/
/*
***************
*** 182,198 ****
#define HAVE_GZIP
#ifdef HAVE_GZIP
! # define COMPRESS_PATH "/usr/imports/bin/gzip"
# define COMPRESS_SUFFIX ".gz"
# define COMPRESS_FAST_OPT "--fast"
# define COMPRESS_BEST_OPT "--best"
! # define UNCOMPRESS_CMD "gzcat"
#else
# define COMPRESS_PATH COMPRESS /* defined in config.h */
# define COMPRESS_SUFFIX ".Z"
# define COMPRESS_FAST_OPT "-f" /* -f doesn't do anything */
# define COMPRESS_BEST_OPT "-f" /* it's just a placeholder */
! # define UNCOMPRESS_CMD "zcat"
#endif
/*
--- 184,200 ----
#define HAVE_GZIP
#ifdef HAVE_GZIP
! # define COMPRESS_PATH "/usr/bin/gzip"
# define COMPRESS_SUFFIX ".gz"
# define COMPRESS_FAST_OPT "--fast"
# define COMPRESS_BEST_OPT "--best"
! # define UNCOMPRESS_CMD "/usr/bin/gzcat"
#else
# define COMPRESS_PATH COMPRESS /* defined in config.h */
# define COMPRESS_SUFFIX ".Z"
# define COMPRESS_FAST_OPT "-f" /* -f doesn't do anything */
# define COMPRESS_BEST_OPT "-f" /* it's just a placeholder */
! # define UNCOMPRESS_CMD "/usr/bin/zcat"
#endif
/*