Re: [hackers] [sent] support FreeBSD || Markus Teich
Heads up, unless I'm missing something the {foo,bar} alternation here is
a bash-ism. You may want to spell them both out instead.
On Tue Mar 15, 2016 at 08:22:55PM +0100, git_AT_suckless.org wrote:
> commit ceda5d69ac1c644bde0271012b90ea8bd02e69fb
> Author: Markus Teich <markus.teich_AT_stusta.mhn.de>
> AuthorDate: Tue Mar 15 20:21:54 2016 +0100
> Commit: Markus Teich <markus.teich_AT_stusta.mhn.de>
> CommitDate: Tue Mar 15 20:21:54 2016 +0100
>
> support FreeBSD
>
> On FreeBSD the lib and include directories are in /usr/local rather than /usr.
>
> diff --git a/config.mk b/config.mk
> index 52d5fb1..6578ca8 100644
> --- a/config.mk
> +++ b/config.mk
> _AT_@ -11,8 +11,8 @@ X11INC = /usr/X11R6/include
> X11LIB = /usr/X11R6/lib
>
> # includes and libs
> -INCS = -I. -I/usr/include -I/usr/include/freetype2 -I${X11INC}
> -LIBS = -L/usr/lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11
> +INCS = -I. -I/usr/{,local/}include -I/usr/{,local/}include/freetype2 -I${X11INC}
> +LIBS = -L/usr/{,local/}lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11
>
> # flags
> CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600
>
Received on Tue Mar 15 2016 - 23:29:26 CET
This archive was generated by hypermail 2.3.0
: Tue Mar 15 2016 - 23:36:13 CET