diff options
author | drochner <drochner@pkgsrc.org> | 2004-05-12 16:19:32 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2004-05-12 16:19:32 +0000 |
commit | 5276fee3138cb02ad57e35580b3f6f96f032e2ce (patch) | |
tree | 4daba5b02809d7e06e1638fb2b8d8a4e2aa0ea65 /multimedia/transcode/patches/patch-at | |
parent | 36fe4ae7b6c99978c043f03a1d1c1239536bab07 (diff) | |
download | pkgsrc-5276fee3138cb02ad57e35580b3f6f96f032e2ce.tar.gz |
repair some damages:
-properly libtoolize some libraries to get dynamically loadable modules,
use a hack from SDL to make libtool work with nasm (thanks wiz for
the hint)
-run aclocal and autoconf, otherwise the autoconf version skew scews
things up
XXX we shouldn't use autoconf et al for the build but commit
patches to configure and Makefile.in
-make sure we don't get trapped by the X11R6 freetype2 nonsense
Diffstat (limited to 'multimedia/transcode/patches/patch-at')
-rw-r--r-- | multimedia/transcode/patches/patch-at | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/multimedia/transcode/patches/patch-at b/multimedia/transcode/patches/patch-at new file mode 100644 index 00000000000..89ca3d9e45b --- /dev/null +++ b/multimedia/transcode/patches/patch-at @@ -0,0 +1,33 @@ +$NetBSD: patch-at,v 1.1 2004/05/12 16:19:32 drochner Exp $ + +--- bbmpeg/Makefile.am.orig 2003-09-15 16:30:20.000000000 +0200 ++++ bbmpeg/Makefile.am 2004-05-12 18:38:26.000000000 +0200 +@@ -3,7 +3,7 @@ + AUTOMAKE_OPTIONS = 1.3 foreign + DEFAULT_INCLUDES = -I$(top_srcdir) -I$(srcdir) -I$(top_builddir) -I. + +-noinst_LIBRARIES = libbbmpeg.a ++noinst_LTLIBRARIES = libbbmpeg.la + + if HAVE_ASM_NASM + BB_SRC2 = fdct_mmx.s idct_mmx.s quant_mmx.s motion_mmx.s variance_mmx.s +@@ -20,7 +20,7 @@ + + CFLAGS = -funroll-loops -ffast-math @CFLAGS@ $(MMX) + +-libbbmpeg_a_SOURCES = dovideo.c params.c bits.c puthdr.c putpic.c putmpg.c putvlc.c stats.c quantize.c predict.c ratectl.c idct.c motion.c transfrm.c fdctref.c resize.c $(BB_SRC1) $(BB_SRC2) $(BB_SRC3) ++libbbmpeg_la_SOURCES = dovideo.c params.c bits.c puthdr.c putpic.c putmpg.c putvlc.c stats.c quantize.c predict.c ratectl.c idct.c motion.c transfrm.c fdctref.c resize.c $(BB_SRC1) $(BB_SRC2) $(BB_SRC3) + + noinst_HEADERS = mtable.h mplex.h mmx.h main.h imgresample.h gmo_read.h encaudio.h consts.h consts1.h common.h bbencode.h + +@@ -60,7 +60,9 @@ + ASM = @NASM@ + ASMFLAGS = @NASMFLAGS@ + +-%.o: %.s ; $(ASM) -g $(ASMFLAGS) -o $@ $< ++STRIP_FPIC = sh $(top_srcdir)/strip_fPIC.sh ++ ++%.lo: %.s ; $(LIBTOOL) --tag=CC --mode=compile $(STRIP_FPIC) $(ASM) $(ASMFLAGS) -o $@ $< + + + |