aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoranders <anders@FreeBSD.org>2004-07-17 20:00:03 +0800
committeranders <anders@FreeBSD.org>2004-07-17 20:00:03 +0800
commitb44d161c0786583237da6f1b7806d4d88b63f5cd (patch)
tree50e930ab5031a2e98ba719365c244695e19835a6 /security
parentf125ef0016bbae6d224e3e9c7e5c4aa5b19d4914 (diff)
downloadfreebsd-ports-gnome-b44d161c0786583237da6f1b7806d4d88b63f5cd.tar.gz
freebsd-ports-gnome-b44d161c0786583237da6f1b7806d4d88b63f5cd.tar.zst
freebsd-ports-gnome-b44d161c0786583237da6f1b7806d4d88b63f5cd.zip
Do not run in debug-mode by default.
Diffstat (limited to 'security')
-rw-r--r--security/pam-mysql/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/pam-mysql/Makefile b/security/pam-mysql/Makefile
index 54515280b9b1..fc7152a50dac 100644
--- a/security/pam-mysql/Makefile
+++ b/security/pam-mysql/Makefile
@@ -15,6 +15,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME:S/_/-/}
MAINTAINER= anders@FreeBSD.org
COMMENT= A pam module for authenticating with MySQL
+USE_REINPLACE= yes
USE_MYSQL= yes
BROKEN_WITH_MYSQL= 41
USE_GMAKE= yes
@@ -23,6 +24,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.pre.mk>
+post-patch:
+ ${REINPLACE_CMD} -e "s@^#define DEBUG@#undef DEBUG@" ${WRKSRC}/pam_mysql.c
+
pre-build:
@cd ${WRKSRC} && ${GMAKE} clean