summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2004-07-17 12:00:03 +0000
committerAnders Nordby <anders@FreeBSD.org>2004-07-17 12:00:03 +0000
commitcf3baa4f818f491d749f55ccab267a3b0ee164ff (patch)
tree2d71423efc54bcc8db55424fa23670ad1c62ca0e
parentUpdate to 0.2.2 (diff)
Do not run in debug-mode by default.
Notes
Notes: svn path=/head/; revision=113810
-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