Bug 79039 - [PATCH] sysutils/dmidecode: fix build for FreeBSD 4.x
Summary: [PATCH] sysutils/dmidecode: fix build for FreeBSD 4.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: Anders Nordby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-20 05:00 UTC by Tod McQuillin
Modified: 2005-03-20 21:24 UTC (History)
1 user (show)

See Also:


Attachments
dmidecode-2.6.patch (1.60 KB, patch)
2005-03-20 05:00 UTC, Tod McQuillin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tod McQuillin 2005-03-20 05:00:13 UTC
1) add USE_GETOPT_LONG so that it will build on 4.x
2) arrange for proper CPPFLAGS and LDFLAGS to be used for above
3) make it respect PREFIX (before it would install in /usr/local
   unconditionally)
4) make it respect CC

Added file(s):
- files/patch-Makefile

Port maintainer (anders@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
Comment 1 Tod McQuillin 2005-03-20 05:12:22 UTC
Oops, I just noticed that USE_REINPLACE=yes can also be removed from the 
port makefile.

Cheers,
-- 
Tod McQuillin
Comment 2 Alexey Dokuchaev freebsd_committer freebsd_triage 2005-03-20 09:16:38 UTC
Responsible Changed
From-To: freebsd-ports-bugs->anders

Over to maintainer.
Comment 3 Anders Nordby freebsd_committer freebsd_triage 2005-03-20 21:24:36 UTC
State Changed
From-To: open->closed

Committed (with modifications), thanks!