unbreak build on sparc64...again

This commit is contained in:
sturm 2009-05-14 19:24:06 +00:00
parent 0db30c7534
commit ebc5963265
2 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.4 2009/04/16 16:39:17 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.5 2009/05/14 19:24:06 sturm Exp $
COMMENT= compact speech synthesizer
DISTNAME= espeak-1.40.02-source
PKGNAME= ${DISTNAME:S/-source//}p0
PKGNAME= ${DISTNAME:S/-source//}p1
SHARED_LIBS= espeak 0.0
CATEGORIES= audio devel

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-src_Makefile,v 1.5 2009/04/16 16:39:17 ajacoutot Exp $
$OpenBSD: patch-src_Makefile,v 1.6 2009/05/14 19:24:06 sturm Exp $
--- src/Makefile.orig Mon Dec 22 23:37:41 2008
+++ src/Makefile Thu Apr 16 18:33:32 2009
@@ -1,6 +1,5 @@
@ -70,7 +70,7 @@ $OpenBSD: patch-src_Makefile,v 1.5 2009/04/16 16:39:17 ajacoutot Exp $
x_%.o: %.cpp
- $(CXX) $(CXXFLAGS) $(USE_AUDIO) -Wall -fpic -fvisibility=hidden -pedantic \
- -I. -D LIBRARY -c -fno-exceptions $< -o x_$*.o
+ $(CXX) $(CXXFLAGS) -pthread $(USE_AUDIO) -Wall -fpic -pedantic \
+ $(CXX) $(CXXFLAGS) -pthread $(USE_AUDIO) -Wall -fPIC -DPIC -pedantic \
+ -I. -DLIBRARY -DPATH_ESPEAK_DATA=\"$(DATADIR)\" -c -fno-exceptions $< -o x_$*.o
$(LIB_NAME): $(OBJS2)