ports/86609: courier-imap 4.0.6 prefixed installation and configure cleanup

Martin Piayda martin.piayda at udo.edu
Mon Sep 26 18:50:17 UTC 2005


>Number:         86609
>Category:       ports
>Synopsis:       courier-imap 4.0.6 prefixed installation and configure cleanup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 26 18:50:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Martin Piayda
>Release:        FreeBSD 5.4
>Organization:
>Environment:
FreeBSD themis 5.4-RELEASE-p5 FreeBSD 5.4-RELEASE-p5
>Description:
I've updated the current Makefile for prefixed installations and enhanced the configure section to make it more readable
>How-To-Repeat:
always
>Fix:
diff -ruN bak/Makefile Makefile
--- bak/Makefile    Sat Sep 24 14:56:19 2005
+++ Makefile   Mon Sep 26 20:24:26 2005
@@ -34,10 +34,13 @@
 USE_GMAKE=     yes
 USE_RC_SUBR=   yes

-CONFIGURE_ENV= CFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
-               CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
-               CXXFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
-               LIBS="${LDFLAGS} -L${LOCALBASE}/lib"
+CPPFLAGS+=      -I${LOCALBASE}/include -I${PREFIX}/include
+LDFLAGS+=       -L${LOCALBASE}/lib -L${PREFIX}/lib
+CONFIGURE_ENV=  REHASH=${SCRIPTDIR}/c_rehash \
+                CPPFLAGS='${CPPFLAGS}' \
+               CXXFLAGS='${CPPFLAGS}' \
+                LDFLAGS='${LDFLAGS}'
+MAKE_ENV:=      ${CONFIGURE_ENV}

 #
 # options available:
@@ -71,7 +74,8 @@
                --enable-workarounds-for-imap-client-bugs \
                --enable-unicode \
                --disable-root-check \
-               --with-locking-method=fcntl
+               --with-locking-method=fcntl \
+               COURIERAUTHCONFIG=${PREFIX}/bin/courierauthconfig

 .include <bsd.port.pre.mk>

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list