Commit 26626a230ae43e890758476157c7d41865fd32a8
1 parent
6ab31ade
Exists in
master
and in
3 other branches
Update build instructions for macOS
Showing
1 changed file
with
9 additions
and
11 deletions
Show diff stats
README.md
| ... | ... | @@ -115,28 +115,26 @@ Building for macOS (using homebrew) |
| 115 | 115 | * binutils |
| 116 | 116 | * coreutils |
| 117 | 117 | * curl |
| 118 | - * dbus | |
| 119 | 118 | * gettext |
| 120 | 119 | * libtool |
| 121 | - * m4 | |
| 122 | 120 | * openldap |
| 123 | 121 | * openssl |
| 124 | 122 | * pkgconfig |
| 125 | 123 | |
| 126 | - ```console | |
| 127 | - $ brew install automake binutils coreutils curl dbus gettext libtool m4 openldap openssl pkgconfig | |
| 124 | + ```shell | |
| 125 | + $ brew install automake binutils coreutils curl gettext libtool openldap openssl pkgconfig | |
| 128 | 126 | ``` |
| 129 | 127 | |
| 130 | -3. Use [open-keg](https://gist.github.com/andrebreves/5f36e78575e20162ed0a62bd27c4bcea) to make keg-only dependencies available during the build processes | |
| 128 | +3. Use [open-keg](https://gist.github.com/andrebreves/5f36e78575e20162ed0a62bd27c4bcea) to make keg-only dependencies available during build process | |
| 131 | 129 | |
| 132 | - ```console | |
| 133 | - $ open-keg curl gettext openldap openssl | |
| 130 | + ```shell | |
| 131 | + $ open-keg curl openldap openssl | |
| 134 | 132 | ``` |
| 135 | -4. Configure, build and install (inside [open-keg](https://gist.github.com/andrebreves/5f36e78575e20162ed0a62bd27c4bcea) shell) | |
| 133 | +4. Configure, build and install (inside the [open-keg](https://gist.github.com/andrebreves/5f36e78575e20162ed0a62bd27c4bcea) shell opened above) | |
| 136 | 134 | |
| 137 | - ```console | |
| 135 | + ```shell | |
| 138 | 136 | $ ./autogen.sh --prefix="$(brew --cellar)/lib3270/5.3" |
| 139 | - $ make && make install | |
| 137 | + $ make all && make install | |
| 140 | 138 | $ brew link lib3270 |
| 141 | 139 | ``` |
| 142 | 140 | |
| ... | ... | @@ -145,7 +143,7 @@ Uninstalling |
| 145 | 143 | |
| 146 | 144 | 1. To uninstall |
| 147 | 145 | |
| 148 | - ```console | |
| 146 | + ```shell | |
| 149 | 147 | $ brew unlink lib3270 |
| 150 | 148 | $ rm -fr "$(brew --cellar)/lib3270" |
| 151 | 149 | ``` | ... | ... |