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

Bug 210965

Summary: media-libs/libafterimage fails to compile on g/fbsd
Product: Gentoo/Alt Reporter: MT <toffanin.mauro>
Component: FreeBSDAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: bicatali
Priority: High    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 200316    
Attachments: libafterimage-1.15_fbsd1.patch

Description MT 2008-02-21 12:31:28 UTC
media-libs/libafterimage compilation fails with:

i686-gentoo-freebsd6.2-ranlib libAfterImage.a
ln -s -f libAfterImage.so.0.99 libAfterImage.so.0
ln -s -f libAfterImage.so.0 libAfterImage.so
make: illegal option -- -
usage: make [-BPSXeiknqrstv] [-C directory] [-D variable]
	[-d flags] [-E variable] [-f makefile] [-I directory]
	[-j max_jobs] [-m directory] [-V variable]
	[variable=value] [target ...]
gmake: *** [apps] Error 2


this error happens because the supplied Makefile use GNUmake specific syntax. To fix the problem i have changed all the hardcoded 'make' call to a proper  $(MAKE). attached there is the fix, please add/append it to the existing 'libafterimage-makefile.in.patch' patch set.

Reproducible: Always
Comment 1 MT 2008-02-21 12:32:28 UTC
Created attachment 144205 [details, diff]
libafterimage-1.15_fbsd1.patch
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2008-02-26 09:37:31 UTC
bsd team, feel free to update the ebuild with the patch, I don't have (yet!) a bsd based gentoo to test it on.
Comment 3 Alexis Ballier gentoo-dev 2008-12-13 13:57:09 UTC
(In reply to comment #2)
> bsd team, feel free to update the ebuild with the patch, I don't have (yet!) a
> bsd based gentoo to test it on.

ported patch applied to 1.18 and keyworded; i also mailed the patch upstream