summaryrefslogtreecommitdiff
path: root/security/pam-pgsql/files
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2001-02-26 23:09:21 +0000
committerMikhail Teterin <mi@FreeBSD.org>2001-02-26 23:09:21 +0000
commit6b65c45f49ea31cbc77b634cd2c400d754ea444f (patch)
tree32eca49f7480331c98df57d09af01e3b4002d81d /security/pam-pgsql/files
parent- Update the distribution site to ftp.freebsd.org's local-distfiles that my (diff)
Add pam-pgsql 0.3, a pam module for authenticating with PostgreSQL.
PR: 22876 Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
Notes
Notes: svn path=/head/; revision=38817
Diffstat (limited to 'security/pam-pgsql/files')
-rw-r--r--security/pam-pgsql/files/Makefile.bsd16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/pam-pgsql/files/Makefile.bsd b/security/pam-pgsql/files/Makefile.bsd
new file mode 100644
index 000000000000..634a5fd3cc67
--- /dev/null
+++ b/security/pam-pgsql/files/Makefile.bsd
@@ -0,0 +1,16 @@
+# This makefile is inspired by those in /usr/src/lib/libpam/modules :-)
+
+SRCS= pam_pgsql.c pam_get_pass.c pam_std_option.c pam_get_service.c
+LIB= pam_pgsql
+SHLIB_NAME=${LIB}.so
+
+LDADD= -lpam -L${LOCALBASE}/pgsql/lib -lpq
+INCLUDE= -I${LOCALBASE}/pgsql/include
+CFLAGS+= -Wall -D_GNU_SOURCE -I/opt/pgsql/include
+
+INTERNALLIB= we don't need no stinking static lib
+
+# Uncomment if you think, the lib should NOT go into /usr/lib directly:
+# LIBDIR= ${LOCALBASE}/lib
+
+.include <bsd.lib.mk>