Generates what's expected in ELF archs; thanks pvalchev@ for testing.

This commit is contained in:
fgsch 2001-12-11 04:28:30 +00:00
parent 26e6111d95
commit 419a61774d
2 changed files with 21 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2001/12/09 15:46:48 espie Exp $
# $OpenBSD: Makefile,v 1.3 2001/12/11 04:28:30 fgsch Exp $
COMMENT= "opendivx decoding API"
@ -7,7 +7,7 @@ CATEGORIES= graphics devel
NEED_VERSION= 1.480
MASTER_SITES= http://download2.projectmayo.com/dnload/divx4linux/xmps/
HOMEPAGE= http://www.projectmayo.com/projects/detail.php?projectId=1
HOMEPAGE= http://www.projectmayo.com/projects/detail.php?projectId=4
MAINTAINER= Federico Schwindt <fgsch@openbsd.org>
@ -16,11 +16,13 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_LIBTOOL= Yes
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltconfig \
${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh \
patch-*
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
.include <bsd.port.mk>
.if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:L} == "yes"
CONFIGURE_ARGS+= --enable-shared=no
.endif

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_Makefile_in,v 1.1 2001/12/11 04:28:30 fgsch Exp $
--- src/Makefile.in.orig Fri Jan 19 17:42:15 2001
+++ src/Makefile.in Fri Dec 7 05:33:36 2001
@@ -75,7 +75,7 @@ VERSION = @VERSION@
lib_LTLIBRARIES = libdivxdecore.la
-libdivxdecore_la_LDFLAGS = -module -avoid-version
+libdivxdecore_la_LDFLAGS = -module
libdivxdecore_la_SOURCES = basic_prediction.c basic_prediction.h decore.c decore.h getbits.c global.h idct.c idct.h mp4_block.c mp4_block.h mp4_decoder.c mp4_decoder.h mp4_header.c mp4_header.h mp4_mblock.c mp4_mblock.h mp4_picture.c mp4_predict.c mp4_predict.h mp4_recon.c mp4_vld.c mp4_vld.h portab.h postprocess.c postprocess.h transferIDCT.c transferIDCT.h yuv2rgb.h