some hackery to work around faad's system.h needing config.h

bump pkgname

"doowit" jolan@
This commit is contained in:
jcs 2004-12-13 05:40:55 +00:00
parent 3e3d557523
commit 6833152ada
3 changed files with 23 additions and 4 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.14 2004/12/09 04:57:56 jcs Exp $
# $OpenBSD: Makefile,v 1.15 2004/12/13 05:40:55 jcs Exp $
COMMENT= "MPEG2 and MPEG-4 AAC decoder"
COMMENT-xmms= "XMMS input plugin for AAC files"
DISTNAME= faad2-2.0
PKGNAME= faad-2.0
PKGNAME-xmms= faad-xmms-2.0
PKGNAME= faad-2.0p0
PKGNAME-xmms= faad-xmms-2.0p0
CATEGORIES= audio
MASTER_SITES= http://users.codefusionis.com/~jolan/
@ -60,4 +60,10 @@ post-patch:
PATH=${PORTPATH} sh bootstrap
@perl -pi -e 's/--no-verify//g' ${WRKSRC}/configure
post-configure:
@cp ${WRKSRC}/config.h ${WRKSRC}/faadconfig.h
post-install:
@${INSTALL_DATA} ${WRKSRC}/faadconfig.h ${PREFIX}/include
.include <bsd.port.mk>

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-common_mp4v2_systems_h,v 1.1 2004/12/13 05:40:55 jcs Exp $
--- common/mp4v2/systems.h.orig Sun Dec 12 23:00:22 2004
+++ common/mp4v2/systems.h Sun Dec 12 23:00:28 2004
@@ -31,7 +31,7 @@
#else
#undef PACKAGE
#undef VERSION
-#include <config.h>
+#include <faadconfig.h>
#endif

View File

@ -1,7 +1,8 @@
@comment $OpenBSD: PLIST,v 1.4 2004/09/18 10:26:55 espie Exp $
@comment $OpenBSD: PLIST,v 1.5 2004/12/13 05:40:55 jcs Exp $
@conflict playfair-*
bin/faad
include/faad.h
include/faadconfig.h
include/mp4.h
include/mp4ff.h
include/mpeg4ip.h