mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
lchat is "a line oriented front end for ii-like chat programs" from suckless.org. It is a simple frontend for their file-based ii IRC client. As with many suckless.org projects, build settings are configured via config.mk. config.diff applies the appropriate settings to config.mk. lchat has runtime dependencies on tail(1) and grep(1). Since sufficient binaries are included with macOS, I have specified these as bin dependencies. References: https://github.com/macports/macports-ports/pull/21266
19 lines
458 B
Diff
19 lines
458 B
Diff
--- config.mk.orig 2023-11-10 14:49:30
|
|
+++ config.mk 2023-11-10 15:11:58
|
|
@@ -1,12 +1,11 @@
|
|
VERSION = 1.0
|
|
|
|
# paths
|
|
-PREFIX = /usr/local
|
|
BINDIR = $(PREFIX)/bin
|
|
-MANDIR = $(PREFIX)/man
|
|
+MANDIR = $(PREFIX)/share/man
|
|
MAN1DIR = $(MANDIR)/man1
|
|
|
|
-CFLAGS = -std=c99 -pedantic -Wall -Wextra -I/usr/local/include
|
|
+CFLAGS = -std=c99 -pedantic -Wall -Wextra -I$(PREFIX)/include
|
|
|
|
# grapheme.h
|
|
-LIBS = -L/usr/local/lib -lgrapheme
|
|
+LIBS = -L$(PREFIX)/lib -lgrapheme
|