mirror of
https://git.freebsd.org/ports.git
synced 2025-07-04 19:09:16 -04:00
sic is an extremely simple IRC client. It consists of lesser than 250 lines of code. It is the little brother of irc/ii WWW: http://www.suckless.org/programs/sic.html PR: ports/129917 Submitted by: Dennis Herrmann <adox at mcx2.org>
26 lines
670 B
Makefile
26 lines
670 B
Makefile
--- config.mk.orig 2008-12-24 21:33:04.000000000 +0100
|
|
+++ config.mk 2008-12-24 21:34:33.000000000 +0100
|
|
@@ -4,17 +4,17 @@
|
|
# Customize below to fit your system
|
|
|
|
# paths
|
|
-PREFIX = /usr/local
|
|
-MANPREFIX = ${PREFIX}/share/man
|
|
+PREFIX ?= /usr/local
|
|
+MANPREFIX = ${PREFIX}/man
|
|
|
|
# includes and libs
|
|
INCS = -I. -I/usr/include
|
|
LIBS = -L/usr/lib -lc
|
|
|
|
# flags
|
|
-CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
|
|
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
|
-LDFLAGS = -s ${LIBS}
|
|
+CPPFLAGS += -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
|
|
+CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
|
+LDFLAGS += -s ${LIBS}
|
|
|
|
# compiler and linker
|
|
-CC = cc
|
|
+CC ?= cc
|