[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ports/47409: Build of CUPS 1.1.18.0 fails if CUPS 1.1.14 installed
>Number: 47409
>Category: ports
>Synopsis: Build of CUPS 1.1.18.0 fails if CUPS 1.1.14 installed
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 23 07:20:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: User &Goran Lowkrantz
>Release: FreeBSD 4.7-STABLE i386
>Organization:
Infologigruppen Alfa AB
>Environment:
System: FreeBSD midgard.lule2.infologigruppen.se 4.7-STABLE FreeBSD 4.7-STABLE #7: Thu Oct 24 10:57:09 CEST 2002 root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/MIDGARD i386
>Description:
When building CUPS 1.1.18.0 on a mashine where CUPS 1.1.14 is already installed
the admin.cgi program will fail to build, as an enumeration in <cups/langauge.h>
has been extended and /usr/local/include is before the new version on the CFLAGS
and CXXFLAGS definitions.
>How-To-Repeat:
cd /usr/ports/print/cups-base
make all
>Fix:
Either delete the files in /usr/local/include/cups or change the order
of -I values in the /usr/ports/print/cups/work/cups-1.1.18/Makedefs for
the CFLAGS and CXXFLAGS or apply the following patch to /usr/ports/print/cups/Makefile.common.
*** Makefile.common.orig Thu Jan 23 16:09:20 2003
--- Makefile.common Thu Jan 23 16:09:37 2003
***************
*** 57,64 ****
--with-rcdir=${PREFIX}/etc/rc.d
CONFIGURE_ARGS+= CPPFLAGS="-I${PREFIX}/include"
! CONFIGURE_ARGS+= CFLAGS="${CFLAGS} -I${PREFIX}/include"
! CONFIGURE_ARGS+= CXXFLAGS="${CFLAGS} -I${PREFIX}/include"
CONFIGURE_ARGS+= DSOFLAGS="-Wl,-rpath,${PREFIX}/lib -L${PREFIX}/lib"
CONFIGURE_ARGS+= LDFLAGS="-L${PREFIX}/lib"
--- 57,64 ----
--with-rcdir=${PREFIX}/etc/rc.d
CONFIGURE_ARGS+= CPPFLAGS="-I${PREFIX}/include"
! CONFIGURE_ARGS+= CFLAGS="${CFLAGS} -I.. -I${PREFIX}/include"
! CONFIGURE_ARGS+= CXXFLAGS="${CFLAGS} -I.. -I${PREFIX}/include"
CONFIGURE_ARGS+= DSOFLAGS="-Wl,-rpath,${PREFIX}/lib -L${PREFIX}/lib"
CONFIGURE_ARGS+= LDFLAGS="-L${PREFIX}/lib"
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@xxxxxxxxxxx
with "unsubscribe freebsd-ports-bugs" in the body of the message