Commit Graph

13 Commits (9c384de6dbe526374af5075e06260063a9764cb9)

Author SHA1 Message Date
Alyssa Ross 431230e0ea Support custom pkg-config executable names
When cross-compiling, it's common to have executables prefixed with
the name of the architecture you're building for,
e.g. aarch64-unknown-linux-musl-cc or x86_64-unknown-freebsd-pkg-config.
Lots of build tools support a PKG_CONFIG environment variable to
enable this use case.

With this change, I was able to successfully cross-compile and run
catgirl.
2021-11-22 12:30:31 -05:00
C. McEnroe ff87d561bd Add support for BINDIR, fix default MANDIR, use LDADD vars
I avoided defaulting MANDIR to /usr/local/man because I thought it
didn't work on GNU/Linux and users would be confused, but it turns
out man-db's default configuration includes both /usr/local/man and
/usr/man, so ${PREFIX}/man is a sensical default.
2021-05-04 12:13:50 -04:00
C. McEnroe 1c8054f226 Set OPENSSL_BIN to /usr/bin/openssl on FreeBSD 2020-08-06 16:15:53 -04:00
C. McEnroe 09e6b14794 Remove dependency on libcrypto for compat 2020-07-30 13:37:54 -04:00
C. McEnroe a142ebcf43 Define explicit_bzero using memset_s on macOS 2020-07-30 13:36:17 -04:00
C. McEnroe 1b8d589112 Support --prefix and --mandir in configure script 2020-07-23 16:40:46 -04:00
C. McEnroe f37ad399fe Rewrite configure script for all platforms 2020-07-23 16:28:38 -04:00
C. McEnroe 29064fb3f6 Add warning to configure script 2020-06-11 16:06:01 -04:00
C. McEnroe fd679bbca8 Don't compress man page or use configure on FreeBSD
Also use DESTDIR in install.
2020-05-23 19:14:47 -04:00
C. McEnroe fcfbe8a14c Add -g for generating certificates
Copied from pounce.
2020-02-13 01:39:25 -05:00
C. McEnroe 90c59ecba4 Make sure -D_GNU_SOURCE ends up in CFLAGS on Linux 2020-02-11 19:03:39 -05:00
C. McEnroe 172cd57099 Use pkg(8) to configure on FreeBSD 2020-02-11 03:09:51 -05:00
C. McEnroe 5470254fa5 Add simple configure script
Mostly motivated by wanting to build with the ncurses in pkgsrc because
it supports italics.
2020-02-06 23:50:04 -05:00