diff options
author | Cy Schubert <cy@FreeBSD.org> | 2022-04-04 16:05:21 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2022-05-09 17:48:13 +0000 |
commit | 42254d38fc21ae531687824fe6b12d5d52acf3e7 (patch) | |
tree | 3f9a6237a92ade6f3a89f5f91d0ae78441968f55 | |
parent | a0aa88c3b0847349a629018414b0c97f66e0155a (diff) | |
download | ports-42254d38fc21ae531687824fe6b12d5d52acf3e7.tar.gz ports-42254d38fc21ae531687824fe6b12d5d52acf3e7.zip |
sysutils/screen: Socket directory location option
Allow the user to specify the location of the socket directory through a
make.conf or make command line option called SCREEN_SOCKET_DIR. Simply
add SCREEN_SOCKET_DIR= to make.conf or put it on the command line.
-rw-r--r-- | sysutils/screen/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysutils/screen/Makefile b/sysutils/screen/Makefile index 53d60822795b..34625ae2bf9d 100644 --- a/sysutils/screen/Makefile +++ b/sysutils/screen/Makefile @@ -82,6 +82,11 @@ CFLAGS+= -DNONETHACK CONFIGURE_ARGS+= --disable-socket-dir .endif +.if defined(SCREEN_SOCKET_DIR) +CONFIGURE_ARGS+= --with-socket-dir=${SCREEN_SOCKET_DIR} +.endif + + post-patch: @${RM} ${WRKSRC}/doc/screen.info* |