Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 418417

Summary: mail-filter/dcc-1.3.140-r1 Add *-fbsd KEYWORD
Product: Gentoo/Alt Reporter: Naohiro Aota <naota>
Component: FreeBSDAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: net-mail+disabled, robbat2
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 235785    
Attachments: dcc-1.3.140-r1.ebuild.patch
dcc-1.3.140-freebsd.patch

Description Naohiro Aota gentoo-dev 2012-05-31 17:09:04 UTC
There are some issues to install dcc-1.3.140-r1 on FreeBSD.

- The configure script check "make" is gmake or not. OTOH "emake" calls ${MAKE} (= gmake, on bsd) This prevent configure to create proper Makfile
- The configure script hardcode "USE_DCCMANINSTALL='# USE_DCCMANINSTALL=no'" on FreeBSD, assuming that "make" != GNU make
- On FreeBSD, there's no "root" group available. It use "wheel" instead. Change "root" to $(id -g -n root) to detect the group name.

Attached is patch for the ebuild. I've confirmed it working on both FreeBSD and Linux.
Comment 1 Naohiro Aota gentoo-dev 2012-05-31 17:09:45 UTC
Created attachment 313731 [details, diff]
dcc-1.3.140-r1.ebuild.patch
Comment 2 Naohiro Aota gentoo-dev 2012-05-31 17:10:14 UTC
Created attachment 313733 [details, diff]
dcc-1.3.140-freebsd.patch
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2013-12-28 04:47:05 UTC
InCVS