From d68f88dfa88cb180ced1df65ea3e471419dcb8e9 Mon Sep 17 00:00:00 2001 From: sunpoet Date: Sun, 22 Apr 2012 16:07:35 +0000 Subject: - Fix build [1] - Cosmetic change PR: ports/165341 [1] Submitted by: Tobias Rehbein --- audio/p5-Ogg-Vorbis-Header/Makefile | 3 +-- audio/p5-Ogg-Vorbis-Header/files/patch-Header.pm | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'audio') diff --git a/audio/p5-Ogg-Vorbis-Header/Makefile b/audio/p5-Ogg-Vorbis-Header/Makefile index bbf4358c48a1..f526026f49bc 100644 --- a/audio/p5-Ogg-Vorbis-Header/Makefile +++ b/audio/p5-Ogg-Vorbis-Header/Makefile @@ -15,13 +15,12 @@ PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org COMMENT= Manipulate / fetch info from Ogg-Vorbis audio files +BUILD_DEPENDS= p5-Inline>=0:${PORTSDIR}/devel/p5-Inline LIB_DEPENDS= ogg.7:${PORTSDIR}/audio/libogg \ vorbis.4:${PORTSDIR}/audio/libvorbis -BUILD_DEPENDS= ${SITE_PERL}/Inline/MakeMaker.pm:${PORTSDIR}/devel/p5-Inline RUN_DEPENDS:= ${BUILD_DEPENDS} MAKE_JOBS_UNSAFE= yes - PERL_CONFIGURE= yes MAN3= Ogg::Vorbis::Header.3 diff --git a/audio/p5-Ogg-Vorbis-Header/files/patch-Header.pm b/audio/p5-Ogg-Vorbis-Header/files/patch-Header.pm index 3248231b7e67..8724c8700f5a 100644 --- a/audio/p5-Ogg-Vorbis-Header/files/patch-Header.pm +++ b/audio/p5-Ogg-Vorbis-Header/files/patch-Header.pm @@ -7,7 +7,7 @@ - LIBS => '-logg -lvorbis -lvorbisfile', - INC => '-I/inc', + LIBS => '-L${LOCALBASE}/lib -logg -lvorbis -lvorbisfile', -+ INC => '-I/inc -I${LOCALBASE}/include', ++ INC => '-I${LOCALBASE}/include', AUTO_INCLUDE => '#include "inc/vcedit.h"', AUTO_INCLUDE => '#include "inc/vcedit.c"', VERSION => '0.03', -- cgit