misc/86565: Chicken $(includedir) its not on the BASE_CPPFLAGS (again)

Juan Felipe Alvarez Saldarriaga neb at gigax.org
Sun Sep 25 14:20:21 PDT 2005


>Number:         86565
>Category:       misc
>Synopsis:       Chicken $(includedir) its not on the BASE_CPPFLAGS (again)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 25 21:20:20 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Juan Felipe Alvarez Saldarriaga
>Release:        FreeBSD 5.4-RELEASE-p6
>Organization:
Evolucion Digital Ltda.
>Environment:
FreeBSD Yggdrasil.Delictum.us 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #2: Sun Sep  4 14:40:30 COT 2005     root at Yggdrasil.Delictum.us:/usr/src/sys/i386/compile/YGGDRASIL  i386

>Description:
$(includedir) var its not on the BASE_CPPFLAGS parameter in the Makefile.in file, so, you can't compile a scheme script (.scm file) because you need checken.h header file to do this. Few months before I was report this "bug" but the new maintainer drop this patch. Check this please: http://www.freebsd.org/cgi/query-pr.cgi?pr=80219
>How-To-Repeat:
Try to compile something.
>Fix:
Add $(includedir) var on BASE_CPPFLAGS parameter in the Makefile.in file.
This is the patch:

--- Makefile.in.orig    Sun Sep 25 15:49:35 2005
+++ Makefile.in Sun Sep 25 15:50:06 2005
@@ -201,7 +201,7 @@
 # use -DC_NO_PIC_NO_DLL ... -DC_NO_PIC_NO_DLL is only for libtool
 # compiles
 BASE_CPPFLAGS = -DC_STACK_GROWS_DOWNWARD=$(STACK_GROWS_DOWNWARD) -DC_INSTALL_LIB_HOME='"$(pkglibdir)"' \
-  -DC_INSTALL_HOME='"$(pkgdatadir)"' -DC_USE_C_DEFAULTS
+  -DC_INSTALL_HOME='"$(pkgdatadir)"' -DC_USE_C_DEFAULTS -I$(includedir)

 INCLUDES = $(BASE_CPPFLAGS) -DC_NO_PIC_NO_DLL
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list