Bug 38616 - Build options in Makefile.local are ignored
Summary: Build options in Makefile.local are ignored
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Tilman Keskinoz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-27 15:20 UTC by KAWATA Masahiko
Modified: 2002-11-03 15:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description KAWATA Masahiko 2002-05-27 15:20:01 UTC
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
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2002-10-27 19:39:24 UTC
Responsible Changed
From-To: freebsd-ports->arved

I'll handle this
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2002-11-03 15:15:03 UTC
State Changed
From-To: open->closed

Committed, thanks.