Bug 60392 - [PATCH] Makefile of security/cyrus-sasl2-saslauthd is broken (both on -CURRENT and -STABLE)
Summary: [PATCH] Makefile of security/cyrus-sasl2-saslauthd is broken (both on -CURREN...
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: Hajimu UMEMOTO
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-19 08:20 UTC by Oleg Sharoiko
Modified: 2003-12-19 17:44 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (919 bytes, patch)
2003-12-19 08:20 UTC, Oleg Sharoiko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Sharoiko 2003-12-19 08:20:19 UTC
	The Makefile of security/cyrus-sasl2-saslauthdis broken:

make, /usr/ports/security/cyrus-sasl2-saslauthd # make
"Makefile", line 81: Malformed conditional (!defined(WITHOUT_GSSAPI) && (defined(MAKE_KERBEROS5) || ${OSVERSION} > 500105) && exists(/usr/lib/libkrb5.a))
make: fatal errors encountered -- cannot continue

	There seems to be two bugs:

	1. Space is required after 500105 in order make don't treat it as a string "500105)" but as a number 500105 and a closing bracket

	2. 2. bsd.port.pre.mk should be included before the use of $OSVERSION

Fix: Apply the patch:

How-To-Repeat: 	cd /usr/ports/security/cyrus-sasl2-saslauthd
	make
Comment 1 jeh freebsd_committer freebsd_triage 2003-12-19 11:49:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ume

Over to maintainer, this also affects cyrus-sasl2.
Comment 2 Hajimu UMEMOTO freebsd_committer freebsd_triage 2003-12-19 17:40:31 UTC
State Changed
From-To: open->closed

In space issue, what's curious.  I've tested on both 5.2-CURRENT and 
4.9-RELEASE, and it seems detecting Kerberos5 properly.  What is 
actually problem? 
However, it is good practice having space before and after of ( and ). 
So, I've changed it.