mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 03:16:28 -04:00
Changes: http://lists.suckless.org/dev/1705/31705.html PR: 219162 Approved by: lme (mentor), schot@a-eskwadraat.nl (maintainer timeout, 3 weeks) Differential Revision: https://reviews.freebsd.org/D10994
23 lines
843 B
Makefile
23 lines
843 B
Makefile
--- config.mk.orig 2017-05-02 16:36:47 UTC
|
|
+++ config.mk
|
|
@@ -16,16 +16,16 @@ XINERAMAFLAGS = -DXINERAMA
|
|
FREETYPELIBS = -lfontconfig -lXft
|
|
FREETYPEINC = /usr/include/freetype2
|
|
# OpenBSD (uncomment)
|
|
-#FREETYPEINC = ${X11INC}/freetype2
|
|
+FREETYPEINC = ${X11INC}/freetype2
|
|
|
|
# includes and libs
|
|
INCS = -I${X11INC} -I${FREETYPEINC}
|
|
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
|
|
|
|
# flags
|
|
-CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
|
|
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
|
-LDFLAGS = -s ${LIBS}
|
|
+CPPFLAGS+= -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
|
|
+CFLAGS += -std=c99 ${INCS} ${CPPFLAGS}
|
|
+LDFLAGS += ${LIBS}
|
|
|
|
# compiler and linker
|
|
CC = cc
|