databases: Install dtterm as an unprivileged program when PTS driver and
libutempter are available.
This commit is contained in:
@@ -1747,13 +1747,22 @@ programs/dtudcfonted/libfal/fonts.list
|
|||||||
{ default
|
{ default
|
||||||
install_target = /usr/dt/config/C/fonts.list
|
install_target = /usr/dt/config/C/fonts.list
|
||||||
}
|
}
|
||||||
|
#if defined(HAS_PTS_DRIVER) && defined(HAS_UTEMPTER_LIBRARY)
|
||||||
XCOMM
|
XCOMM
|
||||||
programs/dtterm/dtterm
|
programs/dtterm/dtterm
|
||||||
|
{ default
|
||||||
|
install_target = /usr/dt/bin/dtterm
|
||||||
|
mode = 0555
|
||||||
|
owner = root
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
programs/dtterm/dtterm
|
||||||
{ default
|
{ default
|
||||||
install_target = /usr/dt/bin/dtterm
|
install_target = /usr/dt/bin/dtterm
|
||||||
mode = 04555
|
mode = 04555
|
||||||
owner = root
|
owner = root
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
XCOMM
|
XCOMM
|
||||||
programs/dtterm/dtterm.ti
|
programs/dtterm/dtterm.ti
|
||||||
{ default
|
{ default
|
||||||
|
|||||||
@@ -38,6 +38,14 @@ UDB_CPP_UNDEF_LIST = -UhpV4 -Uhpux -Uaix -Usun -Uunix -Ulinux -Uopenbsd -Ufreebs
|
|||||||
UDB_CPP_DEF_LIST = -DHAS_PAM_LIBRARY
|
UDB_CPP_DEF_LIST = -DHAS_PAM_LIBRARY
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(HasPtsDriver) && HasPtsDriver
|
||||||
|
UDB_CPP_DEF_LIST += -DHAS_PTS_DRIVER
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(HasUtempterLibrary) && HasUtempterLibrary
|
||||||
|
UDB_CPP_DEF_LIST += -DHAS_UTEMPTER_LIBRARY
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined UTF8_NLS_SUPPORT
|
#if defined UTF8_NLS_SUPPORT
|
||||||
# define UTF8_NLS_SUPPORT_OPT -DUTF8_NLS_SUPPORT
|
# define UTF8_NLS_SUPPORT_OPT -DUTF8_NLS_SUPPORT
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user