FreeBSD Bugzilla – Attachment 218494 Details for
Bug 250076
lang/oo2c: fix build on GCC architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-lang_oo2c
patch-lang_oo2c (text/plain), 2.38 KB, created by
Curtis Hamilton
on 2020-10-03 18:07:52 UTC
(
hide
)
Description:
patch-lang_oo2c
Filename:
MIME Type:
Creator:
Curtis Hamilton
Created:
2020-10-03 18:07:52 UTC
Size:
2.38 KB
patch
obsolete
>--- Makefile.orig >+++ Makefile >@@ -17,8 +17,6 @@ > RUN_DEPENDS= libtool:devel/libtool > LIB_DEPENDS= libgc.so:devel/boehm-gc > >-ONLY_FOR_ARCHS= amd64 i386 >- > DOCSDIR= lib/${PORTNAME} > USES= gmake libtool:build tar:bzip2 > GNU_CONFIGURE= yes >@@ -28,7 +26,16 @@ > CPPFLAGS+= -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib > >-OPTIONS_DEFINE= DOCS >+THREADS_DESC= Build thread support (Must have pthread installed) >+ >+OPTIONS_DEFINE= DOCS THREADS >+OPTIONS_DEFAULT= DOCS >+ >+OPTIONS_SUB= yes >+ >+.if ${PORT_OPTIONS:MTHREADS} >+CONFIGURE_ARGS= --enable-threads=pthreads >+.endif > > post-patch: > @${REINPLACE_CMD} 's/dir=@/dir=$${DESTDIR}@/' \ >@@ -44,4 +51,10 @@ > BITS= 64 > .endif > >+.if ${ARCH} == "powerpc64" >+# . if defined(PPC_ABI) && ${PPC_ABI} == ELFv1 >+CFLAGS+= -fnested-functions >+# . endif >+.endif >+ > .include <bsd.port.post.mk> >--- pkg-plist.orig >+++ pkg-plist >@@ -94,6 +94,8 @@ > lib/oo2c/obj/SysClock.oh > lib/oo2c/obj/Termination.oh > lib/oo2c/obj/TextRider.oh >+%%THREADS%%lib/oo2c/obj/Thread/PThread.oh >+%%THREADS%%lib/oo2c/obj/Thread/Semaphore.oh > lib/oo2c/obj/Time.oh > lib/oo2c/obj/URI.oh > lib/oo2c/obj/URI/Authority/RegistryBased.oh >@@ -217,6 +219,8 @@ > %%PORTDOCS%%%%DOCSDIR%%/oocdoc/html/SysClock.html > %%PORTDOCS%%%%DOCSDIR%%/oocdoc/html/Termination.html > %%PORTDOCS%%%%DOCSDIR%%/oocdoc/html/TextRider.html >+%%THREADS%%%%PORTDOCS%%%%DOCSDIR%%/oocdoc/html/Thread/PThread.html >+%%THREADS%%%%PORTDOCS%%%%DOCSDIR%%/oocdoc/html/Thread/Semaphore.html > %%PORTDOCS%%%%DOCSDIR%%/oocdoc/html/Time.html > %%PORTDOCS%%%%DOCSDIR%%/oocdoc/html/URI.html > %%PORTDOCS%%%%DOCSDIR%%/oocdoc/html/URI/Authority/RegistryBased.html >@@ -340,6 +344,8 @@ > %%PORTDOCS%%%%DOCSDIR%%/oocdoc/xml/SysClock.xml > %%PORTDOCS%%%%DOCSDIR%%/oocdoc/xml/Termination.xml > %%PORTDOCS%%%%DOCSDIR%%/oocdoc/xml/TextRider.xml >+%%THREADS%%%%PORTDOCS%%%%DOCSDIR%%/oocdoc/xml/Thread/PThread.xml >+%%THREADS%%%%PORTDOCS%%%%DOCSDIR%%/oocdoc/xml/Thread/Semaphore.xml > %%PORTDOCS%%%%DOCSDIR%%/oocdoc/xml/Time.xml > %%PORTDOCS%%%%DOCSDIR%%/oocdoc/xml/URI.xml > %%PORTDOCS%%%%DOCSDIR%%/oocdoc/xml/URI/Authority/RegistryBased.xml >@@ -555,6 +561,10 @@ > lib/oo2c/sym/Termination.Sym > lib/oo2c/sym/TextRider.Doc > lib/oo2c/sym/TextRider.Sym >+%%THREADS%%lib/oo2c/sym/Thread/PThread.Doc >+%%THREADS%%lib/oo2c/sym/Thread/PThread.Sym >+%%THREADS%%lib/oo2c/sym/Thread/Semaphore.Doc >+%%THREADS%%lib/oo2c/sym/Thread/Semaphore.Sym > lib/oo2c/sym/Time.Doc > lib/oo2c/sym/Time.Sym > lib/oo2c/sym/URI.Doc >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 250076
: 218494