mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
5f9bb0d96f
Submitted by: maintainer
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
--- label_tape.c.orig Tue Sep 18 08:26:18 2001
|
|
+++ label_tape.c Fri Nov 2 15:51:10 2001
|
|
@@ -33,11 +33,13 @@
|
|
UChar *programfile = NULL;
|
|
UChar *programdir = NULL;
|
|
UChar *bindir = NULL;
|
|
+UChar *libexecdir = NULL;
|
|
UChar *libdir = NULL;
|
|
UChar *vardir = NULL;
|
|
|
|
ReplSpec replacements[] = {
|
|
{ "%B", NULL, &bindir },
|
|
+ { "%E", NULL, &libexecdir },
|
|
{ "%L", NULL, &libdir },
|
|
{ "%V", NULL, &vardir },
|
|
};
|
|
@@ -1044,11 +1046,13 @@
|
|
if( (cptr = FN_LASTDIRDELIM(programdir)) )
|
|
*(cptr) = '\0';
|
|
bindir = strapp(programdir, FN_DIRSEPSTR "bin");
|
|
+ libexecdir = strapp(programdir, FN_DIRSEPSTR "libexec/afbackup");
|
|
libdir = strapp(programdir, FN_DIRSEPSTR "lib");
|
|
|
|
#else /* defined(ORIG_DEFAULTS) */
|
|
|
|
bindir = strdup(DEFSERVBINDIR);
|
|
+ libexecdir = strdup(DEFSERVLIBEXECDIR);
|
|
libdir = strdup(DEFSERVLIBDIR);
|
|
|
|
#endif /* if else defined(ORIG_DEFAULTS) */
|
|
@@ -1058,6 +1062,7 @@
|
|
backuphome = strdup(backuphome);
|
|
/* construct file- and dirnames */
|
|
bindir = strapp(backuphome, FN_DIRSEPSTR "bin");
|
|
+ libexecdir = strapp(backuphome, FN_DIRSEPSTR "libexec/afbackup");
|
|
libdir = strapp(backuphome, FN_DIRSEPSTR "lib");
|
|
}
|
|
|