Bug 191081 - Fix for editors/pico-alpine on 8.4
Summary: Fix for editors/pico-alpine on 8.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-16 09:57 UTC by Michelle Sullivan
Modified: 2014-06-16 10:47 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michelle Sullivan 2014-06-16 09:57:36 UTC
Compile error on 8.4-RELEASE.

Building bundled tools...
cd mtest;make
cc -I../c-client `cat ../c-client/CFLAGS` -c mtest.c
${CTFCONVERT_CMD} expands to empty string
cc -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
/usr/bin/ld: cannot find -lregex
*** Error code 1

Stop in /usr/ports/editors/pico-alpine/work/alpine-2.11/imap/mtest.
*** Error code 1

Stop in /usr/ports/editors/pico-alpine/work/alpine-2.11/imap.
*** Error code 1

Stop in /usr/ports/editors/pico-alpine/work/alpine-2.11/imap.
*** Error code 1

Stop in /usr/ports/editors/pico-alpine/work/alpine-2.11.
*** Error code 1

Stop in /usr/ports/editors/pico-alpine.
*** Error code 1

Stop in /usr/ports/editors/pico-alpine.


Fix:

diff -Nur mail/alpine.orig/Makefile mail/alpine/Makefile
--- mail/alpine.orig/Makefile	2014-06-16 04:46:37.000000000 -0500
+++ mail/alpine/Makefile	2014-06-16 04:52:29.000000000 -0500
@@ -49,11 +49,11 @@
 CONFIGURE_ARGS+=--with-system-pinerc=${PREFIX}/etc/alpine.conf \
 		--with-system-fixed-pinerc=${PREFIX}/etc/alpine.conf.fixed \
 		--with-password-prog=/usr/bin/passwd \
-		--with-system-mail-directory=/var/mail \
-		--enable-background-post --without-krb5 --without-tcl
+		--with-system-mail-directory=/var/mail
 
 .endif
-CONFIGURE_ARGS+=--with-debug-level=2
+CONFIGURE_ARGS+=--with-debug-level=2 \
+		--enable-background-post --without-krb5 --without-tcl
 
 MAKE_ARGS+=	CC="${CC}" CXX="${CXX}" GCCCFLAGS="${CFLAGS}"
Comment 1 commit-hook freebsd_committer freebsd_triage 2014-06-16 10:44:53 UTC
A commit references this bug:

Author: pi
Date: Mon Jun 16 10:44:14 UTC 2014
New revision: 357968
URL: http://svnweb.freebsd.org/changeset/ports/357968

Log:
  editors/pico-alpine: fix build on 8.4 by fixing masterport mail/alpine

  Thanks for the bug report to Scott Allendorf <scott-allendorf@uiowa.edu>

  PR:		ports/191081
  Submitted by:	Michelle Sullivan <michelle@sorbs.net>

Changes:
  head/mail/alpine/Makefile
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2014-06-16 10:46:51 UTC
Tested on 8.4 (i386 and amd64), works, committed.