Remove powerpc workaround, it is not needed anymore, from Brad.

This commit is contained in:
ajacoutot 2010-07-26 18:59:18 +00:00
parent 20d02d485f
commit 6303508fb6
2 changed files with 2 additions and 20 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.18 2010/04/15 21:31:01 jasper Exp $
# $OpenBSD: Makefile,v 1.19 2010/07/26 18:59:18 ajacoutot Exp $
COMMENT= multi-platform cd player development library
DISTNAME= libcdaudio-0.99.12
PKGNAME= ${DISTNAME}p0
REVISION= 0
SHARED_LIBS += cdaudio 1.1 # .1.0
CATEGORIES= audio
@ -22,9 +22,4 @@ USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
# Workaround compiler bug with cddb.c, otherwise we get a sig11
.if ${MACHINE_ARCH} == "powerpc"
PATCH_LIST+= sup-no_optimization
.endif
.include <bsd.port.mk>

View File

@ -1,13 +0,0 @@
$OpenBSD: sup-no_optimization,v 1.1 2008/01/30 14:08:54 jasper Exp $
--- src/Makefile.in.orig Mon Jan 28 17:12:41 2008
+++ src/Makefile.in Mon Jan 28 17:13:55 2008
@@ -272,6 +272,9 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/data.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/extra_objs.Plo@am__quote@
+cddb.lo:
+ $(LIBTOOL) --mode=compile $(COMPILE) -O1 -c $<
+
.c.o:
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi