Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 1998 14:13:58 +0930 (CST)
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7406: graphics/fnlib doesn't build due to bad include paths
Message-ID:  <199807270443.OAA10803@cain.gsoft.com.au>

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

>Number:         7406
>Category:       ports
>Synopsis:       graphics/fnlib doesn't build due to bad include paths
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 26 21:50:00 PDT 1998
>Last-Modified:
>Originator:     Daniel O'Connor
>Organization:
>Release:        FreeBSD 2.2.6-BETA i386
>Environment:

2.2.6-STABLE with the ports tree CVSup'd this morning

>Description:

Can't compile because /usr/local/include isn't in the include path, so
the Imlib includes aren't found

>How-To-Repeat:

cd /usr/ports/graphcs/fnlib
make

>Fix:

There is probably a better way than patch the Makefile.in, but adding
things like --include-path for CONFIGURE_ARGS (or whatever its called)
didn't work :( (neither did CONFIGURE_ENV= PREFIX=${PREFIX})

My fix is replace patch/patch-ac with the following
--- Fnlib/Makefile.in.orig	Thu Jul 16 00:00:21 1998
+++ Fnlib/Makefile.in	Mon Jul 27 14:05:12 1998
@@ -98,7 +98,7 @@
 file.c       \
 misc.c
 
-libFnlib_la_LDFLAGS    = -version-info 3:0:3
+libFnlib_la_LDFLAGS    = -version-info 0:3:0
 libFnlib_la_LDDADD     = $(LIBS)
 
 DEFS = 	-DSYSTEM_FNRC=\"@sysconfdir@/fnrc\"
@@ -118,7 +118,7 @@
 X_PRE_LIBS = @X_PRE_LIBS@
 libFnlib_la_LIBADD = 
 libFnlib_la_OBJECTS =  priv.lo file.lo misc.lo
-CFLAGS = @CFLAGS@
+CFLAGS = @CFLAGS@ -I/usr/local/include/
 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
 LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@

	

>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?199807270443.OAA10803>