Bug 116721 - Upgrade of print/cups-base fails
Summary: Upgrade of print/cups-base fails
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: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-28 20:30 UTC by Christoph Moench-Tegeder
Modified: 2007-09-29 14:08 UTC (History)
0 users

See Also:


Attachments
file.diff (382 bytes, patch)
2007-09-28 20:30 UTC, Christoph Moench-Tegeder
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Moench-Tegeder freebsd_committer freebsd_triage 2007-09-28 20:30:02 UTC
	When upgrading cups-base from 1.2.12 to 1.3.0 (e.g. portupgrade),
	compilation fails in cups-1.3.0/cgi-bin because of undefined symbols
	(first one is CUPS_SERVER_REMOTE_ANY in cups-1.3.0/cgi-bin/admin.c).

Fix: There is an error in the ordering of compiler arguments, tho old headers
	in /usr/local/include get precedence over the current ones in cups'
	source directory. When assembling ALL_CFLAGS in Makedefs, $(CFLAGS)
	has to go before $(SSLFLAGS). Put the following patch in
	files/patch-Makedefs.in. In case some mail system garbles this patch,
	get it at http://www.burggraben.net/hacks/patch-Makedefs.in
How-To-Repeat: 	portupgrade print/cups-base or even a simple make in
	ports/print/cups-base. Note: to trigger this bug, an older version of
	cups-base has to be installed.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-09-28 20:30:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-09-29 08:24:50 UTC
dinoex      2007-09-29 07:24:45 UTC

  FreeBSD ports repository

  Modified files:
    print/cups-base      Makefile 
  Added files:
    print/cups-base/files patch-Makedefs.in 
  Log:
  - fix build when an obsolete version of cups is installed
  PR:             116721
  Submitted by:   Christoph Moench-Tegeder
  
  Revision  Changes    Path
  1.75      +1 -0      ports/print/cups-base/Makefile
  1.1       +14 -0     ports/print/cups-base/files/patch-Makedefs.in (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Dirk Meyer freebsd_committer freebsd_triage 2007-09-29 14:07:50 UTC
State Changed
From-To: open->closed

committed, thanks.