| Summary: | Build options in Makefile.local are ignored | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | KAWATA Masahiko <kawata> |
| Component: | Individual Port(s) | Assignee: | Tilman Keskinoz <arved> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports->arved I'll handle this State Changed From-To: open->closed Committed, thanks. |
To specify local build options, I use Makefile.local instead of command line. In many other ports this way is effective but it's ignored in Sylpheed port. Fix: Use <bsd.port.(pre|post).mk> instead of <bsd.port.mk> ---------- [/usr/ports/mail/sylpheed]% diff -u Makefile.orig Makefile +.include <bsd.port.pre.mk> + .if defined(WITH_PIXBUF) LIB_DEPENDS+= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf CONFIGURE_ARGS+=--disable-imlib @@ -99,4 +101,4 @@ .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk>--9P3VvvC5hpalKzl2aOOuZSKYlM0m9vESsHQ2cluUW2q7ZJiZ Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- Makefile.orig Fri May 24 22:39:26 2002 +++ Makefile Mon May 27 23:11:15 2002 @@ -22,6 +22,8 @@ LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib" CONFIGURE_ARGS= --enable-ipv6 --prefix=${PREFIX} --with-included-gettext How-To-Repeat: [/usr/ports/mail/sylpheed]% cat Makefile.local WITH_PIXBUF= yes WITH_GPGME= yes WITH_COMPFACE= yes WITH_JCONV= yes WITH_LDAP= yes [/usr/ports/mail/sylpheed]% make