Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 77501 | Differences between
and this patch

Collapse All | Expand All

(-)scotty-2.1.11.orig/unix/Makefile.in (-14 / +28 lines)
Lines 26-59 Link Here
26
exec_prefix =	@exec_prefix@
26
exec_prefix =	@exec_prefix@
27
27
28
# Directory in which to install the program scotty:
28
# Directory in which to install the program scotty:
29
BIN_INSTALL_DIR =	$(exec_prefix)/bin
29
BIN_INSTALL_DIR =	$(DESTDIR)$(exec_prefix)/bin
30
30
31
# Directory in which to install dynamic loadable modules:
31
# Directory in which to install dynamic loadable modules:
32
LIB_INSTALL_DIR =       $(exec_prefix)/lib
32
LIB_INSTALL_DIR =       $(DESTDIR)$(exec_prefix)/lib
33
33
34
# Directory in which dynamic loadable modules are installed:
34
# Directory in which dynamic loadable modules are installed:
35
LIB_RUNTIME_DIR =       $(exec_prefix)/lib
35
LIB_RUNTIME_DIR =       $(DESTDIR)$(exec_prefix)/lib
36
36
37
# Directory in which to install library files belonging to the extension.
37
# Directory in which to install library files belonging to the extension.
38
TNM_INSTALL_DIR =	$(prefix)/lib/tnm$(TNM_VERSION)
38
TNM_INSTALL_DIR =	$(DESTDIR)$(prefix)/lib/tnm$(TNM_VERSION)
39
39
40
# Directory in which to install library files belonging to the extension.
40
# Directory in which to install library files belonging to the extension.
41
TCL_INSTALL_DIR =	$(prefix)/lib/tcl$(TCL_VERSION)
41
TCL_INSTALL_DIR =	$(DESTDIR)$(prefix)/lib/tcl$(TCL_VERSION)
42
42
43
# Directory in which to install the library of tkined scripts.
43
# Directory in which to install the library of tkined scripts.
44
TKI_INSTALL_DIR =	$(prefix)/lib/tkined$(TKI_VERSION)
44
TKI_INSTALL_DIR =	$(DESTDIR)$(prefix)/lib/tkined$(TKI_VERSION)
45
45
46
# Top-level directory for manual entries:
46
# Top-level directory for manual entries:
47
MAN_INSTALL_DIR =	$(prefix)/man
47
MAN_INSTALL_DIR =	$(DESTDIR)$(prefix)/man
48
48
49
# Directory in which to install the manual entries:
49
# Directory in which to install the manual entries:
50
MAN1_INSTALL_DIR =	$(MAN_INSTALL_DIR)/man1
50
MAN1_INSTALL_DIR =	$(DESTDIR)$(MAN_INSTALL_DIR)/man1
51
51
52
# Directory in which to install manual entry for straps:
52
# Directory in which to install manual entry for straps:
53
MAN8_INSTALL_DIR =	$(MAN_INSTALL_DIR)/man8
53
MAN8_INSTALL_DIR =	$(DESTDIR)$(MAN_INSTALL_DIR)/man8
54
54
55
# Directory in which to install manual entry for msqltcl, cmiptcl:
55
# Directory in which to install manual entry for msqltcl, cmiptcl:
56
MANN_INSTALL_DIR =	$(MAN_INSTALL_DIR)/mann
56
MANN_INSTALL_DIR =	$(DESTDIR)$(MAN_INSTALL_DIR)/mann
57
57
58
# To change the compiler switches, for example to change from -O
58
# To change the compiler switches, for example to change from -O
59
# to -g, change the following line:
59
# to -g, change the following line:
Lines 526-535 Link Here
526
	    echo "Installing $$i"; \
526
	    echo "Installing $$i"; \
527
	    $(INSTALL_DATA) $$i $(TNM_INSTALL_DIR)/mibs ; \
527
	    $(INSTALL_DATA) $$i $(TNM_INSTALL_DIR)/mibs ; \
528
	    done
528
	    done
529
	@TCLLIBPATH="$(TNM_INSTALL_DIR) $$TCLLIBPATH"; \
529
	
530
	export TCLLIBPATH; \
530
	# from the mib man page:
531
	echo 'foreach f $$tnm(mibs) {puts "Parsing $$f"; mib load $$f}; exit' | \
531
	# ===
532
		./scotty
532
	# The mib load command loads the MIB definitions contained in file.
533
	# <snip>
534
	# A condensed  format  of  the  MIB  definition  is  saved  in  a
535
	# platform  specific  sub-directory  below $tnm(library)  to speed
536
	# up future load commands. Note, this requires write permissions for
537
	# the platform specific sub-directory.
538
	# ===
539
	#
540
	# The behaviour described in the last four lines causes
541
	# sandbox violations, so we leave this out here (stsp).
542
543
	#@TCLLIBPATH="$(TNM_INSTALL_DIR) $$TCLLIBPATH"; \
544
	#export TCLLIBPATH; \
545
	#echo 'foreach f $$tnm(mibs) {puts "Parsing $$f"; mib load $$f}; exit' | \
546
			./scotty
533
547
534
tnm-install-library:
548
tnm-install-library:
535
	@for i in $(TNM_INSTALL_DIR)/library ; \
549
	@for i in $(TNM_INSTALL_DIR)/library ; \

Return to bug 77501