41 lines
1.1 KiB
Diff
41 lines
1.1 KiB
Diff
--- config.mk.orig
|
|
+++ config.mk
|
|
@@ -4,11 +4,11 @@
|
|
# Customize below to fit your system
|
|
|
|
# paths
|
|
-PREFIX = /usr/local
|
|
+PREFIX = /usr
|
|
MANPREFIX = ${PREFIX}/share/man
|
|
|
|
-X11INC = /usr/X11R6/include
|
|
-X11LIB = /usr/X11R6/lib
|
|
+X11INC = $(XBPS_CROSS_BASE)/usr/include
|
|
+X11LIB = $(XBPS_CROSS_BASE)/usr/lib
|
|
|
|
# Xinerama, comment if you don't want it
|
|
XINERAMALIBS = -lXinerama
|
|
@@ -16,7 +16,7 @@
|
|
|
|
# freetype
|
|
FREETYPELIBS = -lfontconfig -lXft
|
|
-FREETYPEINC = /usr/include/freetype2
|
|
+FREETYPEINC = $(XBPS_CROSS_BASE)/usr/include/freetype2
|
|
# OpenBSD (uncomment)
|
|
#FREETYPEINC = ${X11INC}/freetype2
|
|
|
|
@@ -31,7 +31,7 @@
|
|
# flags
|
|
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} ${DEBUG_CPPFLAGS}
|
|
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} ${DEBUG_CFLAGS}
|
|
-CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS} ${DEBUG_CFLAGS}
|
|
+CFLAGS += -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS} ${DEBUG_CFLAGS}
|
|
LDFLAGS = ${LIBS}
|
|
|
|
# Solaris
|
|
@@ -39,4 +39,4 @@
|
|
#LDFLAGS = ${LIBS}
|
|
|
|
# compiler and linker
|
|
-CC = cc
|
|
+#CC = cc
|