Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 8484

Summary: use %configure instead of ./configure
Product: [Retired] Red Hat Linux Reporter: andrewem
Component: ncursesAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-01-17 13:13:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description andrewem 2000-01-15 05:02:19 UTC
The spec file does something like
  CFLAGS="$RPM_OPT_FLAGS -DPURE_TERMINFO" ./configure --prefix=/usr ...
This is a pain when it comes to porting to newer architectures when the
package has outdated config.sub and config.guess scripts (very common).

A simple change to
  CFLAGS="%{optflags} -DPURE_TERMINFO"
  %define optflags $CFLAGS
  %configure ...
  make
Note that the exact syntax is important in order to avoid a recursive
macro.

Comment 1 Bernhard Rosenkraenzer 2000-01-17 13:13:59 UTC
done.