Ports using OpenAL require libossaudio to link properly; record this
in the pkgconfig/openal-config files so those ports can handle it without hacks. From Brad.
This commit is contained in:
parent
d6c8b944d5
commit
77dc3bf601
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2009/10/10 13:55:44 phessler Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2009/10/10 22:51:48 sthen Exp $
|
||||
|
||||
COMMENT= cross-platform 3D audio API
|
||||
|
||||
DISTNAME= openal-0.0.8
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
PKGNAME= ${DISTNAME}p2
|
||||
CATEGORIES= audio
|
||||
SHARED_LIBS += openal 1.0 # .0.0
|
||||
|
||||
|
15
audio/openal/patches/patch-admin_pkgconfig_openal-config_in
Normal file
15
audio/openal/patches/patch-admin_pkgconfig_openal-config_in
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-admin_pkgconfig_openal-config_in,v 1.1 2009/10/10 22:51:48 sthen Exp $
|
||||
--- admin/pkgconfig/openal-config.in.orig Fri Oct 9 22:54:00 2009
|
||||
+++ admin/pkgconfig/openal-config.in Fri Oct 9 22:54:16 2009
|
||||
@@ -9,9 +9,9 @@ PACKAGE_VERSION="@PACKAGE_VERSION@"
|
||||
# PTHREAD_CFLAGS="@PTHREAD_CFLAGS@"
|
||||
# PTHREAD_LIBS="@PTHREAD_LIBS@"
|
||||
|
||||
-openal_dynamic_ldflags="-lopenal"
|
||||
+openal_dynamic_ldflags="-lopenal -lossaudio"
|
||||
# TODO: configure should provide the following...
|
||||
-openal_static_ldflags="-lopenal"
|
||||
+openal_static_ldflags="-lopenal -lossaudio"
|
||||
|
||||
prefix_set=no
|
||||
echo_prefix=no
|
@ -1,12 +1,14 @@
|
||||
$OpenBSD: patch-admin_pkgconfig_openal_pc_in,v 1.1 2008/04/04 09:33:10 jasper Exp $
|
||||
$OpenBSD: patch-admin_pkgconfig_openal_pc_in,v 1.2 2009/10/10 22:51:48 sthen Exp $
|
||||
--- admin/pkgconfig/openal.pc.in.orig Sat Feb 11 04:36:55 2006
|
||||
+++ admin/pkgconfig/openal.pc.in Tue Apr 1 15:41:59 2008
|
||||
@@ -5,7 +5,7 @@ includedir=@includedir@
|
||||
+++ admin/pkgconfig/openal.pc.in Fri Oct 9 20:29:07 2009
|
||||
@@ -5,8 +5,8 @@ includedir=@includedir@
|
||||
|
||||
Name: OpenAL
|
||||
Description: OpenAL is a cross-platform 3D audio API.
|
||||
-Requires: @requirements@
|
||||
+Requires:
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lopenal
|
||||
-Libs: -L${libdir} -lopenal
|
||||
+Libs: -L${libdir} -lopenal -lossaudio
|
||||
Cflags: -I${includedir}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user