aboutsummaryrefslogtreecommitdiff
path: root/mail/popa3d/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-08-05 15:07:58 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-08-05 15:07:58 +0000
commit4c7c1206e07647b4c3032233ded44e02d41b870f (patch)
tree4ca31234c11b78d8e5b812168fb2ecb3aef282dc /mail/popa3d/Makefile
parent4cba75dcdaaf337d83c10b411491f58d4d317d24 (diff)
downloadports-4c7c1206e07647b4c3032233ded44e02d41b870f.tar.gz
ports-4c7c1206e07647b4c3032233ded44e02d41b870f.zip
- new option MAILBOX_HOME
Submitted by: Krzysztof Kowalewski, Jr.
Notes
Notes: svn path=/head/; revision=115465
Diffstat (limited to 'mail/popa3d/Makefile')
-rw-r--r--mail/popa3d/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/popa3d/Makefile b/mail/popa3d/Makefile
index eb315ee495d4..971054d21f1f 100644
--- a/mail/popa3d/Makefile
+++ b/mail/popa3d/Makefile
@@ -61,6 +61,10 @@ pre-configure:
@${REINPLACE_CMD} -e 's|^\(#define POP_STANDALONE\).*|\1 1|' \
${WRKSRC}/params.h
.endif
+.if defined(MAILBOX_HOME)
+ @${REINPLACE_CMD} -e 's|^#define \(MAIL_SPOOL_PATH\).*|#undef \1|' \
+ ${WRKSRC}/params.h
+.endif
pre-install:
@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL