I've updated the current Makefile for prefixed installations and enhanced the configure section to make it more readable Fix: -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>--iC5nlEMz6sYzFl0ubJjFQIjcakl4Ic31qxXhob2GQk1EbvtB Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" 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 How-To-Repeat: always
Responsible Changed From-To: freebsd-ports-bugs->oliver Over to maintainer.
State Changed From-To: open->closed Committed a slightly modified version, thanks I committed COURIERAUTHCONFIG=${LOCALBASE}/bin/courierauthconfig instead of COURIERAUTHCONFIG=${PREFIX}/bin/courierauthconfig
A prefixed installation does not work with ${LOCALBASE} I have tested ${PREFIX} to work with either prefixed and standard environmental installation. So... the makefile which is now in ports is broken... Regards, Martin