Lines 90-95
Link Here
|
90 |
# If you want to have the Mailbox Sidebar patch define: |
90 |
# If you want to have the Mailbox Sidebar patch define: |
91 |
# WITH_MUTT_SIDEBAR_PATCH |
91 |
# WITH_MUTT_SIDEBAR_PATCH |
92 |
# |
92 |
# |
|
|
93 |
# If you do not want mutt to use the flock() function define: |
94 |
# WITHOUT_MUTT_FLOCK |
95 |
# |
93 |
|
96 |
|
94 |
PORTNAME= mutt-devel |
97 |
PORTNAME= mutt-devel |
95 |
PORTVERSION= 1.5.9 |
98 |
PORTVERSION= 1.5.9 |
Lines 132-138
Link Here
|
132 |
DATADIR?= ${PREFIX}/share/mutt |
135 |
DATADIR?= ${PREFIX}/share/mutt |
133 |
LDFLAGS+= -L${LOCALBASE}/lib |
136 |
LDFLAGS+= -L${LOCALBASE}/lib |
134 |
CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS}" |
137 |
CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS}" |
135 |
CONFIGURE_ARGS= --enable-flock --disable-fcntl --with-ssl=${OPENSSLBASE} \ |
138 |
CONFIGURE_ARGS= --disable-fcntl --with-ssl=${OPENSSLBASE} \ |
136 |
--with-sharedir=${PREFIX}/share/mutt --with-docdir=${DOCSDIR} \ |
139 |
--with-sharedir=${PREFIX}/share/mutt --with-docdir=${DOCSDIR} \ |
137 |
--sysconfdir=${PREFIX}/etc --enable-external-dotlock \ |
140 |
--sysconfdir=${PREFIX}/etc --enable-external-dotlock \ |
138 |
--enable-pop --enable-imap --disable-warnings |
141 |
--enable-pop --enable-imap --disable-warnings |
Lines 298-304
Link Here
|
298 |
.endif |
301 |
.endif |
299 |
|
302 |
|
300 |
.if defined(WITH_MUTT_SIDEBAR_PATCH) |
303 |
.if defined(WITH_MUTT_SIDEBAR_PATCH) |
301 |
.error The WITH_MUTT_SIDEBAR_PATCH is not available at the moment |
|
|
302 |
pre-configure:: |
304 |
pre-configure:: |
303 |
@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-sidebar |
305 |
@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-sidebar |
304 |
.endif |
306 |
.endif |
Lines 308-313
Link Here
|
308 |
@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-aspell |
310 |
@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-aspell |
309 |
.endif |
311 |
.endif |
310 |
|
312 |
|
|
|
313 |
.if defined(WITHOUT_MUTT_FLOCK) |
314 |
CONFIGURE_ARGS+= --disable-flock |
315 |
.else |
316 |
CONFIGURE_ARGS+= --enable-flock |
317 |
.endif |
311 |
.if defined(WITH_MUTT_LOCALES_FIX) |
318 |
.if defined(WITH_MUTT_LOCALES_FIX) |
312 |
CONFIGURE_ARGS+= --enable-locales-fix |
319 |
CONFIGURE_ARGS+= --enable-locales-fix |
313 |
.endif |
320 |
.endif |
Lines 376-382
Link Here
|
376 |
PATCHFILES+= p0-patch-${DW_MBOX_PATCH_VERSION}.dw.mbox-hook.1:dw |
383 |
PATCHFILES+= p0-patch-${DW_MBOX_PATCH_VERSION}.dw.mbox-hook.1:dw |
377 |
.endif |
384 |
.endif |
378 |
.if defined(WITH_MUTT_SIDEBAR_PATCH) |
385 |
.if defined(WITH_MUTT_SIDEBAR_PATCH) |
379 |
PATCHFILES+= patch-1.5.8i.sidebar.20050224.txt:thomer |
386 |
SIDEBAR_PATCH= patch-1.5.8i.sidebar.20050224.txt |
|
|
387 |
DISTFILES+= $(SIDEBAR_PATCH):thomer |
388 |
SGML_NEEDED= yes |
389 |
pre-patch:: |
390 |
@${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/$(SIDEBAR_PATCH) > ${WRKDIR}/patch-sidebar |
391 |
@${REINPLACE_CMD} -E '/^diff.*\/Makefile.in$$/,/^diff/d' \ |
392 |
${WRKDIR}/patch-sidebar |
393 |
@${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/patch-sidebar |
380 |
.endif |
394 |
.endif |
381 |
|
395 |
|
382 |
WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//} |
396 |
WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//} |