Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210965 - media-libs/libafterimage fails to compile on g/fbsd
Summary: media-libs/libafterimage fails to compile on g/fbsd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 200316
  Show dependency tree
 
Reported: 2008-02-21 12:31 UTC by MT
Modified: 2008-12-13 13:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libafterimage-1.15_fbsd1.patch (libafterimage-1.15_fbsd1.patch,1.58 KB, patch)
2008-02-21 12:32 UTC, MT
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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