Commit graph

48 commits

Author SHA1 Message Date
tnn
179eebe7ad revert my change, drochner@ fixed the problem. 2011-01-19 20:40:06 +00:00
drochner
162e79e045 the code doesn't use "__PIC__" anymore - remove substitution 2011-01-19 12:45:12 +00:00
dsainty
71ac4638ea Correct syntax in previous. 2011-01-19 02:04:02 +00:00
tnn
b502c48465 Fails on current as well, so don't try to use asm there.
Someone who groks linker issues should try to make the asm code
position independent. Until then I suspect we will end up using
--disable-asm everywhere.
2011-01-19 00:16:38 +00:00
tron
d8bda72fbf Add a comment why we need to disable assembler support on so many platforms. 2011-01-17 23:13:46 +00:00
tron
96a632df22 Disable assembler support under NetBSD 5.1 and older as it required
binutils 2.17 or newer which is only available under NetBSD-current.
2011-01-17 22:06:37 +00:00
tron
b29cc176d6 Disable assembler support under Mac OS X (again) to fix the build. 2011-01-17 21:51:09 +00:00
drochner
d606359235 update to 20110101, from Makoto Fujiwara per pkgsrc-wip
(I've just put back libtool support.)
needed for update of ffmpeg which in turn is needed for updates
of eg vlc and gst-plugin-ffmpeg
2011-01-17 16:46:42 +00:00
tsutsui
67fdf3e2af Fix build failure on NetBSD/arm as configure suggests:
>> You specified a pre-ARMv6 or Thumb-1 CPU in your CFLAGS.
>> If you really want to run on such a CPU, configure with --disable-asm.
2010-08-11 19:11:55 +00:00
drochner
1ad77b93cb fix previous 2010-07-18 12:19:47 +00:00
wiz
b6ae0a5344 Disable assembler on SunOS/i386, linking fails.
Per Aleksey Cheusov in PR 43632.
2010-07-18 09:48:44 +00:00
drochner
62465e79d3 as suggested by OBATA Akio, give up on replacing bashisms and
just use bash to run the configure script
2010-05-07 09:34:43 +00:00
drochner
f6e9e68d7c -don't use assembler code on NetBSD/i386<current -- the gas doesn't
do SSSE3 instructions (noticed by OBATA Akio)
-cleanup: remove obsolete patch and bashism
2010-05-06 17:02:12 +00:00
drochner
5801a4b920 update to the 20090920 snapshot
The snapshot date is chosen for some reason:
-vlc-1.0.6 (which I'll commit soon) needs an API change which
 was introduced on 20090813
-pkgsrc's ffmpeg can't deal with an API change which was done 20090921
 (and is not easily updated)
2010-05-04 18:18:57 +00:00
drochner
ae766c2076 add a patch from upstream git to fix build error on ppc reported
by Erik Bertelsen
2009-06-03 09:08:31 +00:00
drochner
181c105d21 update to the 20090326 snapshot. This is not absolutely new, but there
was a period of relative quietness in x264 development, and I've been
testing this snapshot for some weeks (on i386).
There are too many changes to list here.
2009-05-25 20:56:38 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
obache
a71a8b672c Let to link libx264.la with ${LDFLAGS}, not only ${PTHREAD_LDFLAGS} and
${PTHREAD_LIBS}, same as original .so target.
At least, need to link with -lm (using pow(3))

Bump PKGREVISION.
2009-02-03 08:44:15 +00:00
sketch
1d2eceefb1 Replace /bin/sh in version.sh too. 2009-01-20 22:33:38 +00:00
tron
0c4b38b599 Disable assembler support on Mac OS X Intel systems because it breaks the
build of a shared version of the library.
2009-01-03 15:40:04 +00:00
tron
0684bfe706 Disable assembler support on x86_64 systems because it breaks the build
of a shared version of the library.
2008-12-20 11:57:29 +00:00
bjs
92e6acc053 fix diff botch 2008-12-18 22:23:36 +00:00
bjs
a2f4bcca62 add forgotten options.mk. 2008-12-18 22:22:47 +00:00
bjs
a24bbaf645 Update to version we're using (20081217) 2008-12-18 17:19:06 +00:00
bjs
47a40db702 Update to 20081218 snapshot. There is no NEWS file or list of changes;
please see the repository for more information.  I'm doing this update
our version is over a year old and some software is starting to require
a newer version.
2008-12-18 16:19:07 +00:00
rillig
49672a4677 Don't strip the binary if INSTALL_UNSTRIPPED is set. 2008-11-18 22:08:32 +00:00
ahoka
2c61c9b0b3 I missed this change in my previous commit. Should build OK on PPC now. 2008-07-30 21:46:04 +00:00
ahoka
1d92901f64 Include altivec.h on NetBSD/ppc. This will unbreak the build for that
platform. Closes PR pkg/38470.
2008-07-30 21:03:17 +00:00
joerg
e1a6feb45e Fix compilation on Solaris, which lacks isinfinite as reported by
Daniel Vergien.
2008-07-10 15:11:53 +00:00
joerg
36adbde0fa Fix build on Solaris: install -d must be called with only one directory. 2008-07-10 13:40:40 +00:00
tron
45d5fa7ce4 Try harder to disable AltiVec support under Mac OS X PPC (because it cannot
be used in a shared library). Applications linked against "libx264" can now
actually be started without crashing immediately because the symbol
"_x264_deblock_h_luma_altivec" couldn't be found.

Bump package revision because of this fix.
2008-04-09 18:33:37 +00:00
tron
ef61654e88 Completely disable PowerPC assembler code under Mac OS X. It requires to
ignore linker warnings under Tiger and doesn't work at all under
Leopard with Xcode tools 3.0.
2008-03-31 16:16:00 +00:00
tron
a8b4a54400 Fix build under Mac OS X Intel by stripping out the "-fno-common" that
"yasm" doesn't understand. Also improve the similar hack used under
NetBSD to strip out "-fpic".
2008-03-18 15:05:03 +00:00
tron
9dbe14055f Fix build under Mac OS X PPC. 2008-03-11 13:20:29 +00:00
drochner
dfdcafab50 now that that we rely on the fact that we get correct PIC from yasm
we can as well use libtool, to get a proper .so which can be
dynamically loaded, tested by Mihai Chelaru,
bump PKGREVISION
2008-03-10 11:59:26 +00:00
kefren
f6001dacf8 build PIC
This way multimedia/ffmpeg-devel gets build on NetBSD/amd64
2008-03-07 21:50:41 +00:00
joerg
f363319856 Use yasm on i386 as well. From Matthias Drochner. 2008-01-07 13:33:27 +00:00
joerg
e89e344787 Update to x264-20071218. No changelog, patch is from Adam Hoka. 2008-01-04 18:41:54 +00:00
joerg
3c27cd356c Supports DESTDIR. 2007-12-27 22:33:51 +00:00
wiz
8a5b10ea93 Update HOMEPAGES and MASTER_SITES; from Sergey Svishchev. 2007-12-02 13:04:06 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
joerg
1314259e08 Add DragonFly support. 2006-02-23 18:11:27 +00:00
joerg
0ba30a9294 Add build time dependency on nasm / yasm for i386 and amd64. 2006-02-21 23:20:38 +00:00
joerg
9aba3fc232 Recognize amd64 as equivalent of x86_64 as shown by bulk build. 2006-02-18 16:50:39 +00:00
joerg
70c788d626 Initial import of the development version of x264.
From DESCR:
  Development version of x264, a high quality H.264 codec.
2006-02-12 14:11:22 +00:00