Skip to content
Permalink
Browse files

Add subdir variant.

Bug:			https://trac.macports.org/ticket/1122
Submitted by:		Benoit Chesneau <bchesneau@mac.com>
Reviewed by:
Approved by:
Obtained from:

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@3953 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jim Mock
Jim Mock committed Nov 15, 2003
1 parent 23b66c0 commit c8f3dd4120e702d53376accb3c9b9e1eda3a6a39
Showing with 19 additions and 6 deletions.
  1. +8 −6 mail/imap-uw/Portfile
  2. +11 −0 mail/imap-uw/files/patch-env_unix.c
@@ -1,4 +1,4 @@
# $Id: Portfile,v 1.10 2003/11/15 08:33:03 mij Exp $
# $Id: Portfile,v 1.11 2003/11/15 17:08:33 mij Exp $

PortSystem 1.0
name imap-uw
@@ -23,13 +23,15 @@ configure {}

build.target osx

platform darwin 7 { patchfiles patch-src-osdep-unix-Makefile \
patch-src-osdep-unix-ckp_osx.c }
platform darwin 7 { patchfiles patch-src-osdep-unix-Makefile \
patch-src-osdep-unix-ckp_osx.c }

variant ssl_plain { patchfiles patch-Makefile
build.args SSLTYPE=unix }
variant ssl_plain { patchfiles patch-Makefile
build.args SSLTYPE=unix }

variant mbx { build.args-append CREATEPROTO=mbxproto }
variant mbx { build.args-append CREATEPROTO=mbxproto }

variant subdir { patchfiles-append patch-env_unix.c }

destroot { system "install -m 755 -d ${destroot}${prefix}/sbin"
system "install -m 755 -d ${destroot}${prefix}/bin"
@@ -0,0 +1,11 @@
--- src/osdep/unix/env_unix.c-orig Wed Nov 5 17:09:13 2003
+++ src/osdep/unix/env_unix.c Wed Nov 5 17:11:16 2003
@@ -29,7 +29,7 @@
static char *myMailboxDir = NIL;/* mailbox directory name */
static char *myLocalHost = NIL; /* local host name */
static char *myNewsrc = NIL; /* newsrc file name */
-static char *mailsubdir = NIL; /* mail subdirectory name */
+static char *mailsubdir = "Mail"; /* mail subdirectory name */
static char *sysInbox = NIL; /* system inbox name */
static char *newsActive = NIL; /* news active file */
static char *newsSpool = NIL; /* news spool */

0 comments on commit c8f3dd4

Please sign in to comment.
You can’t perform that action at this time.