Hi,

  I guess naddy is busy and this could impact other ports, so adding
[EMAIL PROTECTED]

  f.-

----- Forwarded message from "Federico G. Schwindt" <[EMAIL PROTECTED]> -----

Date: Tue, 1 Apr 2008 00:39:59 +0100
From: "Federico G. Schwindt" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: flac diff, avoid -logg patches
User-Agent: Mutt/1.5.17 (2007-11-01)

Hi,

  I'm not sure if you're ok with this but it really annoys me that we need
to patch ports to cope with this when it can be added to the libraries' list
in the pkg-config .pc files.
  I don't believe this will break anything but I will compile a few ports
after I finish the audacious update (which patches configure.ac to add
-logg among other things).
  Cheers,

  f.-

Index: audio/flac/Makefile
===================================================================
RCS file: /cvs/ports/audio/flac/Makefile,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile
--- audio/flac/Makefile 24 Sep 2007 17:23:55 -0000      1.33
+++ audio/flac/Makefile 31 Mar 2008 23:30:47 -0000
@@ -3,6 +3,7 @@
 COMMENT=       free lossless audio codec
 
 DISTNAME=      flac-1.2.1
+PKGNAME=       ${DISTNAME}p0
 CATEGORIES=    audio archivers
 HOMEPAGE=      http://flac.sourceforge.net/
 SHARED_LIBS +=  FLAC                 9.0      # .10.0
Index: audio/flac/patches/patch-src_libFLAC++_flac++_pc_in
===================================================================
RCS file: audio/flac/patches/patch-src_libFLAC++_flac++_pc_in
diff -N audio/flac/patches/patch-src_libFLAC++_flac++_pc_in
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ audio/flac/patches/patch-src_libFLAC++_flac++_pc_in 31 Mar 2008 23:30:47 
-0000
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- src/libFLAC++/flac++.pc.in.orig    Tue Apr  1 00:21:29 2008
++++ src/libFLAC++/flac++.pc.in Tue Apr  1 00:21:50 2008
+@@ -7,5 +7,5 @@ Name: FLAC++
+ Description: Free Lossless Audio Codec Library (C++ API)
+ Version: @VERSION@
+ Requires: flac
+-Libs: -L${libdir} -lFLAC++ -lm
+-Cflags: -I${includedir}/FLAC++
++Libs: -L${libdir} -lFLAC++ @OGG_LIBS@ -lm
++Cflags: -I${includedir}/FLAC++ @OGG_CFLAGS@
Index: audio/flac/patches/patch-src_libFLAC_flac_pc_in
===================================================================
RCS file: audio/flac/patches/patch-src_libFLAC_flac_pc_in
diff -N audio/flac/patches/patch-src_libFLAC_flac_pc_in
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ audio/flac/patches/patch-src_libFLAC_flac_pc_in     31 Mar 2008 23:30:47 
-0000
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- src/libFLAC/flac.pc.in.orig        Tue Apr  1 00:19:43 2008
++++ src/libFLAC/flac.pc.in     Tue Apr  1 00:20:45 2008
+@@ -6,5 +6,5 @@ [EMAIL PROTECTED]@
+ Name: FLAC
+ Description: Free Lossless Audio Codec Library
+ Version: @VERSION@
+-Libs: -L${libdir} -lFLAC -lm
+-Cflags: -I${includedir}/FLAC
++Libs: -L${libdir} -lFLAC @OGG_LIBS@ -lm
++Cflags: -I${includedir}/FLAC @OGG_CFLAGS@

----- End forwarded message -----

Reply via email to