1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/x11/slock/files/patch-config.mk
Raphael Kubo da Costa 8637923b24 Update to 1.3.
PR:		207289
Submitted by:	Chris Hutchinson <portmaster@bsdforge.com> (maintainer)
2016-02-25 10:13:28 +00:00

12 lines
466 B
Makefile

--- config.mk.orig 2013-10-09 16:23:24.000000000 +0200
+++ config.mk 2013-10-09 16:25:18.000000000 +0200
@@ -18,6 +18,9 @@
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
+# To enable PAM-based authentication, remove -DHAVE_SHADOW_H from CPPFLAGS
+# and add -DHAVE_PAM instead. Also, add -lpam to LDFLAGS.
+#
# On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS and add -DHAVE_BSD_AUTH
# On OpenBSD and Darwin remove -lcrypt from LIBS