Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2002 07:14:33 -0700 (PDT)
From:      KAWATA masahiko <kawata@mta.biglobe.ne.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/38616: Build options in Makefile.local are ignored
Message-ID:  <200205271414.g4REEX5X021744@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         38616
>Category:       ports
>Synopsis:       Build options in Makefile.local are ignored
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 27 07:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KAWATA masahiko
>Release:        FreeBSD 4.5-STABLE
>Organization:
>Environment:
FreeBSD figo 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed May 15 22:41:46 JST 2002     kawata@figo:/usr/src/sys/compile/FIGO  i386
>Description:
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.
>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
>Fix:
Use <bsd.port.(pre|post).mk> instead of <bsd.port.mk>
----------
[/usr/ports/mail/sylpheed]% diff -u Makefile.orig Makefile
--- 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

+.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>
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205271414.g4REEX5X021744>