openbsd-dotfiles

Base configurations for my Openbsd desktop
git clone https://git.kausban.com/openbsd-dotfiles/raw/.git
Log | Files | Refs

openbsd_make.diff (1033B)


      1 diff -up a/config.mk b/config.mk
      2 --- a/config.mk	Fri Jan  7 12:42:18 2022
      3 +++ b/config.mk	Fri Apr 29 22:42:36 2022
      4 @@ -5,7 +5,7 @@ VERSION = 6.3
      5  
      6  # paths
      7  PREFIX = /usr/local
      8 -MANPREFIX = ${PREFIX}/share/man
      9 +MANPREFIX = ${PREFIX}/man
     10  
     11  X11INC = /usr/X11R6/include
     12  X11LIB = /usr/X11R6/lib
     13 @@ -18,7 +18,7 @@ XINERAMAFLAGS = -DXINERAMA
     14  FREETYPELIBS = -lfontconfig -lXft
     15  FREETYPEINC = /usr/include/freetype2
     16  # OpenBSD (uncomment)
     17 -#FREETYPEINC = ${X11INC}/freetype2
     18 +FREETYPEINC = ${X11INC}/freetype2
     19  
     20  # includes and libs
     21  INCS = -I${X11INC} -I${FREETYPEINC}
     22 @@ -27,7 +27,7 @@ LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIB
     23  # flags
     24  CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
     25  #CFLAGS   = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
     26 -CFLAGS   = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
     27 +CFLAGS   = -std=c99 -pedantic -Wall -Wno-deprecated-declarations ${INCS} ${CPPFLAGS}
     28  LDFLAGS  = ${LIBS}
     29  
     30  # Solaris