workaround compiler bug with cddb.c, compile with -O1 otherwise
we get a sig11 on powerpc. -- Pointed out by pval's powerpc build list
This commit is contained in:
parent
b47702faaf
commit
c5266b2095
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2001/11/06 05:40:41 kevlo Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2002/03/24 23:18:55 brad Exp $
|
||||
|
||||
COMMENT= "multi-platform cd player development library"
|
||||
DISTNAME= libcdaudio-0.99.6
|
||||
CATEGORIES= audio
|
||||
NEED_VERSION= 1.488
|
||||
NEED_VERSION= 1.500
|
||||
|
||||
HOMEPAGE= http://libcdaudio.sourceforge.net/
|
||||
|
||||
@ -14,7 +14,7 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= libcdaudio
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
@ -24,4 +24,9 @@ CONFIGURE_ARGS+= --enable-static
|
||||
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltconfig \
|
||||
patch-*
|
||||
|
||||
# Workaround compiler bug with cddb.c, otherwise we get a sig11
|
||||
.if ${MACHINE_ARCH} == "powerpc"
|
||||
PATCH_LIST+= sup-powerpc
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
12
audio/libcdaudio/patches/sup-powerpc
Normal file
12
audio/libcdaudio/patches/sup-powerpc
Normal file
@ -0,0 +1,12 @@
|
||||
--- source/Makefile.in.orig Sun Mar 24 18:01:45 2002
|
||||
+++ source/Makefile.in Sun Mar 24 18:03:35 2002
|
||||
@@ -149,6 +149,9 @@ distclean-libLTLIBRARIES:
|
||||
|
||||
maintainer-clean-libLTLIBRARIES:
|
||||
|
||||
+cddb.lo:
|
||||
+ $(LIBTOOL) --mode=compile $(COMPILE) -O1 -c $<
|
||||
+
|
||||
.c.o:
|
||||
$(COMPILE) -c $<
|
||||
|
Loading…
Reference in New Issue
Block a user