View | Details | Raw Unified | Return to bug 88941
Collapse All | Expand All

(-)Makefile Sun Nov 13 13:40:29 2005 (-2 / +17 lines)
Lines 20-25 Link Here
20
MAINTAINER=    anders@FreeBSD.org
20
MAINTAINER=    anders@FreeBSD.org
21
COMMENT=       Mark Crispin's C-client mail access routines
21
COMMENT=       Mark Crispin's C-client mail access routines
22
22
23
OPTIONS=        SSL "Compile with SSL support" on \
24
                SSL_AND_PLAINTEXT "Accept plain text passwords with SSL" off \
25
                IPV6 "Support IPv6" on \
26
                MBX_DEFAULT "Use MBX as default mailbox format" off
27
28
.include <bsd.port.pre.mk>
29
23
INSTALLS_SHLIB=        yes
30
INSTALLS_SHLIB=        yes
24
ALL_TARGET=    bsf
31
ALL_TARGET=    bsf
25
.if defined(WITHOUT_SSL)
32
.if defined(WITHOUT_SSL)
Lines 42-49 Link Here
42
MAKE_ENV=      SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE}
49
MAKE_ENV=      SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE}
43
PLIST_SUB=     SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE}
50
PLIST_SUB=     SHLIBNAME=${SHLIBNAME} SHLIBBASE=${SHLIBBASE}
44
51
45
.include <bsd.port.pre.mk>
46
47
.if ${PORTOBJFORMAT} == "aout"
52
.if ${PORTOBJFORMAT} == "aout"
48
SHLIBNAME=     lib${SHLIBBASE}.so.${SHLIBMAJ}.0
53
SHLIBNAME=     lib${SHLIBBASE}.so.${SHLIBMAJ}.0
49
.endif
54
.endif
Lines 58-63 Link Here
58
       @${REINPLACE_CMD} -e "s|^IP=4|IP=6|" ${WRKSRC}/Makefile \
63
       @${REINPLACE_CMD} -e "s|^IP=4|IP=6|" ${WRKSRC}/Makefile \
59
               ${WRKSRC}/src/osdep/unix/Makefile
64
               ${WRKSRC}/src/osdep/unix/Makefile
60
.endif
65
.endif
66
# Do this here because other patches also modifies this file
67
.if defined(WITH_MBX_DEFAULT)
68
       @${CP} ${WRKSRC}/src/osdep/unix/Makefile \
69
               ${WRKSRC}/src/osdep/unix/Makefile.presed2
70
       @${SED} -e 's:^CREATEPROTO=unixproto:CREATEPROTO=mbxproto:' \
71
               ${WRKSRC}/src/osdep/unix/Makefile.presed2 > \
72
               ${WRKSRC}/src/osdep/unix/Makefile
73
.endif  
74
#
75
61
76
62
post-configure:
77
post-configure:
63
       @${ECHO_MSG} ">> The c-client shared library will be named ${SHLIBNAME}"
78
       @${ECHO_MSG} ">> The c-client shared library will be named ${SHLIBNAME}"

Return to bug 88941