Bug 60371 - sysutils/LPRng port can really compile on FreeBSD 5.x
Summary: sysutils/LPRng port can really compile on FreeBSD 5.x
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-18 16:10 UTC by Seva Gluschenko
Modified: 2003-12-19 00:28 UTC (History)
0 users

See Also:


Attachments
file.diff (573 bytes, patch)
2003-12-18 16:10 UTC, Seva Gluschenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Seva Gluschenko 2003-12-18 16:10:16 UTC
	sysutils/LPRng port is marked as broken for FreeBSD > 5.01 though it
	can be fixed easily.

Fix: The root of the problem lays in "log()" function which is present in
	FreeBSD > 5.0x and thus conflicts with the log() functions in packages.
	This can be easily adopted by patching packages to eliminate log() name.

	Appy patch below:

Now place the following patch as files/patch-lpf.c.diff into your sysutils/LPRng
	port:



The port will compile fine.--51WINOXaum2Umr8F9q6pnrurEkUEJAyJZdoh4giYDSqrtDMc
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.orig	Thu Dec 18 19:04:44 2003
+++ Makefile	Thu Dec 18 19:04:55 2003
@@ -50,10 +50,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 501000
-BROKEN=		"Does not compile"
-.endif
-
 pre-everything::
 	@${ECHO_MSG} "If you want to replace the default printing system with LPRng, use:"
 	@${ECHO_MSG} "  make PREFIX=/usr SYSCONFDIR=/etc clean all install"
How-To-Repeat: 	CVSup sysutils/LPRng port on your FreeBSD 5.x box and try make. Build
	will be interrupted with the reason "marked as broken: does not compile".
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2003-12-19 00:28:28 UTC
State Changed
From-To: open->closed

Committed, thanks!