Lines 145-151
Link Here
|
145 |
.include <bsd.port.pre.mk> |
145 |
.include <bsd.port.pre.mk> |
146 |
|
146 |
|
147 |
CPPFLAGS+= -I${LOCALBASE}/include -I${OPENSSLINC} |
147 |
CPPFLAGS+= -I${LOCALBASE}/include -I${OPENSSLINC} |
148 |
LDFLAGS+= -L${LOCALBASE}/lib -I${OPENSSLLIB} |
148 |
LDFLAGS+= -L${LOCALBASE}/lib -L${OPENSSLLIB} |
149 |
|
149 |
|
150 |
post-patch: |
150 |
post-patch: |
151 |
@${REINPLACE_CMD} -e 's,/etc/dovecot,${PREFIX}/etc/dovecot,g; \ |
151 |
@${REINPLACE_CMD} -e 's,/etc/dovecot,${PREFIX}/etc/dovecot,g; \ |
Lines 160-165
Link Here
|
160 |
@${REINPLACE_CMD} -e '/^[^#]/s|/usr|${LOCALBASE}|' \ |
160 |
@${REINPLACE_CMD} -e '/^[^#]/s|/usr|${LOCALBASE}|' \ |
161 |
${WRKSRC}/src/plugins/fts/decode2text.sh |
161 |
${WRKSRC}/src/plugins/fts/decode2text.sh |
162 |
|
162 |
|
|
|
163 |
post-patch-GSSAPI_NONE-off: |
164 |
# Make sure GSSAPI LDFLAGS make it to dependent ports |
165 |
@${REINPLACE_CMD} -e '/^DOVECOT_LIBS=/s|@LIBS@|-L${GSSAPILIBDIR} &|' \ |
166 |
${WRKSRC}/dovecot-config.in.in |
167 |
|
163 |
post-install-DOCS-on: |
168 |
post-install-DOCS-on: |
164 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
169 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
165 |
(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) |
170 |
(cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) |