diff --git a/sysutils/pam_xdg/Makefile b/sysutils/pam_xdg/Makefile index d8b7c2ac4f4a..b849c2f4110a 100644 --- a/sysutils/pam_xdg/Makefile +++ b/sysutils/pam_xdg/Makefile @@ -1,26 +1,30 @@ PORTNAME= pam_xdg DISTVERSION= 0.8.1 CATEGORIES= sysutils wayland MASTER_SITES= https://ftp.sdaoden.eu/ MAINTAINER= jbeich@FreeBSD.org COMMENT= PAM module to manage XDG Base Directories WWW= https://www.sdaoden.eu/code.html#s-toolbox LICENSE= ISCL USES= uidfix PLIST_FILES= lib/${PORTNAME}.so \ share/man/man8/${PORTNAME}.8.gz +.if exists(/usr/lib/pam_xdg.so) +IGNORE= module name conflict with a different implementation in base system +.endif + # makefile is too crufty, so roll our own MAKEFILE= bsd.lib.mk MAKE_ARGS+= SHLIB_NAME="${PORTNAME}.so" MAN="${PORTNAME}.8" \ SRCS="${PORTNAME}.c" LDADD="-lpam" \ LIBDIR="${PREFIX}/lib" SHAREDIR="${PREFIX}/share" CFLAGS+= -DXDG_CONFIG_DIR="${PREFIX}/etc" \ -DXDG_DATA_DIR_LOCAL="${PREFIX}" \ -DXDG_RUNTIME_DIR_OUTER="/var/run" LDFLAGS+= -Wl,-z,defs .include