reduce-algebra master_site

2018-09-15 Thread Mark Brethen
iles/snapshot_2018-04-06/macintosh/Reduce-source_4567 Mark Brethen mark.bret...@gmail.com

texlive-ec - Computer modern fonts in T1 and TS1 encodings

2018-09-16 Thread Mark Brethen
ctive) texlive-latex @47377_0+doc (active) texlive-latex-extra @47410_0+doc (active) texlive-latex-recommended @47392_0+doc (active) texlive-pictures @47373_0+doc (active) texlive-plain-generic @47437_0+doc (active) Mark Brethen mark.bret...@gmail.com > On Sep 15, 2018, at 10:47 PM, Jo

Re: texlive-ec - Computer modern fonts in T1 and TS1 encodings

2018-09-16 Thread Mark Brethen
Solved. The port I needed is texlive-fonts-recommended. However I need to modify a tex file using reinplace but cannot get it to work. I don’t think I understand regex within tcl. Essentially I need to replace ‘Schˆpf' with 'Sch\”opf’ where ^ and \” are literals. Mark Brethen

Re: texlive-ec - Computer modern fonts in T1 and TS1 encodings

2018-09-16 Thread Mark Brethen
hout requiring those files to be edited. This works for the pdf, but now I have to figure out how to patch this line: mk4ht htlatex ${JOBNAME} ${CONFIG},${SECTIONINGDEPTH} in ${docsrcdir}/mkhtml.sh Mark Brethen mark.bret...@gmail.com > On Sep 16, 2018, at 10:33 PM, Joshua Root wrote: > &

Undefined symbols for architecture x86_64

2018-09-17 Thread Mark Brethen
/local/lib/libintl.a /opt/local/lib/libintl.dylib What am I missing? Mark Brethen mark.bret...@gmail.com

Re: Undefined symbols for architecture x86_64

2018-09-17 Thread Mark Brethen
in the current port. Sent from my iPhone > On Sep 17, 2018, at 8:58 AM, Ryan Schmidt wrote: > > > >> On Sep 17, 2018, at 08:33, Mark Brethen wrote: >> >> I’m getting the following error when trying to build current snapshot of >> reduce-csl: >>

Re: texlive-ec - Computer modern fonts in T1 and TS1 encodings

2018-09-17 Thread Mark Brethen
ote: > > > >> On Sep 16, 2018, at 22:48, Mark Brethen wrote: >> >> I was having trouble building the pdf file in /doc/manual. Checking the >> manual.log I saw the following error on the title.tex file: >> >> ! Package inputenc Error: Invalid

Re: Undefined symbols for architecture x86_64

2018-09-17 Thread Mark Brethen
duce/reduce-csl/work/Reduce-source_4717/m4/libtool.m4] Error 2 Mark Brethen mark.bret...@gmail.com > On Sep 17, 2018, at 8:58 AM, Ryan Schmidt wrote: > > > > On Sep 17, 2018, at 08:33, Mark Brethen wrote: > >> I’m getting the following error when trying

Re: Undefined symbols for architecture x86_64

2018-09-18 Thread Mark Brethen
mmand is issued when a port is installed (not counting subports). In this particular case those steps he mentions would need to be in the top-level makefile, correct? Mark Brethen mark.bret...@gmail.com > On Sep 18, 2018, at 7:57 AM, Ryan Schmidt wrote: > > > > O

Re: Undefined symbols for architecture x86_64

2018-09-18 Thread Mark Brethen
ng. > > profile.dat CAN be created from scratch but you will not want to do that. > Is it possible to issue more than one configure statement before make in a port file? Sent from my iPhone > On Sep 18, 2018, at 8:32 AM, Ryan Schmidt wrote: > > > >> On Sep 18, 2018,

Reduce App

2018-09-18 Thread Mark Brethen
should open the GUI. If I move it then the Macports Application folder needs to be added to $PATH. Or I can just leave in /opt/local/... Mark Brethen mark.bret...@gmail.com

Re: Reduce App

2018-09-19 Thread Mark Brethen
19, 2018, at 8:24 AM, m...@macports.org wrote: > > Hi Mark, > > > >> On Sep 18, 2018, at 8:48 PM, Mark Brethen wrote: >> >> The current src for reduce now builds a reduce.app that you should be able >> to double-click to open. Should this be moved to t

xinstall error

2018-09-21 Thread Mark Brethen
... :debug:destroot while executing :debug:destroot "$procedure $targetname" Mark Brethen mark.bret...@gmail.com

Macports Reduce build

2018-09-23 Thread Mark Brethen
/local/libexec/reduce/README /opt/local/libexec/reduce/csl/bootstrapreduce.app /opt/local/libexec/reduce/csl/csl.app /opt/local/libexec/reduce/csl/reduce.app /opt/local/libexec/reduce/manual.pdf /opt/local/share/man/man1/redcsl.1.gz /opt/local/share/man/man1/redpsl.1.gz Mark Brethen

Re: Macports Reduce build

2018-09-23 Thread Mark Brethen
> On Sep 23, 2018, at 5:42 PM, Ryan Schmidt wrote: > > > > On Sep 23, 2018, at 08:17, Mark Brethen wrote: > >> I have updated the Macports portfile for Reduce snapshot 2018-08-08. >> Everything seems to function properly, with one exception: reduce.app.

Re: Macports Reduce build

2018-09-23 Thread Mark Brethen
Here’s the portfile. Portfile Description: Binary data Mark Brethen mark.bret...@gmail.com > On Sep 23, 2018, at 6:34 PM, Ryan Schmidt wrote: > > > > On Sep 23, 2018, at 18:25, Mark Brethen wrote: >> On Sep 23, 2018, at 5:42 PM, Ryan Schmidt wrote: >>> O

Re: Macports Reduce build

2018-09-23 Thread Mark Brethen
I built it on Sierra. What’s the missing symbol? Mark Brethen mark.bret...@gmail.com > On Sep 23, 2018, at 8:16 PM, Ryan Schmidt wrote: > > It doesn't build for me... > > > Undefined symbols for architecture x86_64: > "directoryp(char*, char const*, u

Re: Macports Reduce build

2018-09-23 Thread Mark Brethen
n the gui in XQuartz. The window will display "Reduce (Free CSL version, revision 4715), 23-Sep-18 …” followed by ‘1:’ 2. Type ‘load_package gnuplot;’ [enter] 3. Type ‘plot cos(x);’ [enter] At this point AquaTerm should open and display a plot of the cosine for -10 < x < 10.

unorthodox build setup?

2018-10-04 Thread Mark Brethen
log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port libreduce failed If I use 'use_configure no’ in my portfile then it won’t configure the way macport’s intends. Mark Brethen mark.bret...@gmail.com

Re: unorthodox build setup?

2018-10-04 Thread Mark Brethen
]] configure.dir ${worksrcdir}/${builddir} } but then configure.dir isn't global for the config/build phases, is it? Mark Brethen mark.bret...@gmail.com > On Oct 4, 2018, at 10:04 AM, Ryan Schmidt wrote: > > > > On Oct 4, 2018, at 09:24, Mark Brethen wrote: > >&g

Re: unorthodox build setup?

2018-10-04 Thread Mark Brethen
I’d have to patch makefile and config.ac, at least. Can set variables be exported to global? Mark Brethen mark.bret...@gmail.com > On Oct 4, 2018, at 11:57 AM, Ryan Schmidt wrote: > > > > On Oct 4, 2018, at 11:55, Mark Brethen wrote: > >> There’s just one glitc

Re: unorthodox build setup?

2018-10-04 Thread Mark Brethen
I only need to set it during build and destroot. How about setting the variable in the pre-build and pre-destroot phases? Mark Brethen mark.bret...@gmail.com > On Oct 4, 2018, at 12:09 PM, Ryan Schmidt wrote: > > > > On Oct 4, 2018, at 12:05, Mark Brethen wrote: > >

Re: unorthodox build setup?

2018-10-04 Thread Mark Brethen
directories to destroot, indicating individual files within to ignore? Mark Brethen mark.bret...@gmail.com > On Oct 4, 2018, at 12:24 PM, Ryan Schmidt wrote: > > On Oct 4, 2018, at 12:24, Mark Brethen wrote: >> >> I only need to set it during build and destroot. How about set

Re: unorthodox build setup?

2018-10-04 Thread Mark Brethen
something like, copy \ {*}[glob ${srcdir}/*.c] \ {*}[glob ${srcdir}/*.h] \ {*}[glob ${srcdir}/examples] \ ${destroot}${prefix}/share/libreduce/src Mark Brethen mark.bret...@gmail.com > On Oct 4, 2018, at 9:26 PM, Mark Bret

Re: unorthodox build setup?

2018-10-04 Thread Mark Brethen
n: image not foundAbort trap: 6 lrtest.c Description: Binary data Mark Brethenmark.bret...@gmail.com On Oct 4, 2018, at 9:11 PM, Ryan Schmidt <ryandes...@macports.org> wrote:On Oct 4, 2018, at 21:07, Mark Brethen wrote:This worked:  use_autoreconf yes  autoreconf.dir ${worksrcpath}/ge

Re: unorthodox build setup?

2018-10-05 Thread Mark Brethen
-air:examples marbre$ otool -L lrtest lrtest: libreduce.so (compatibility version 0.0.0, current version 0.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.60.2) libreduce.so was copied to ${prefix}/lib. Should it be somewhere else? Mark Brethen mark.bret

Re: unorthodox build setup?

2018-10-05 Thread Mark Brethen
python-config --ldflags) -o RedPy.so and for the test binary: lrtest: $(srcdir)/examples/lrtest.c libreduce.a $(srcdir)/reduce.h mkdir -p examples $(CC) $(FAT) -o examples/lrtest -I$(srcdir) -DREDUCE=$(REDUCE) $(srcdir)/examples/lrtest.c -L. -lreduce Mark Brethen mark.bret

Re: unorthodox build setup?

2018-10-05 Thread Mark Brethen
I know very little regarding libraries, so thank you! It is building without errors. I also added a similar line for RedPy.so. What about the static library, libreduce.a, how is it found? Mark Brethen mark.bret...@gmail.com > On Oct 5, 2018, at 4:20 PM, Ryan Schmidt wrote: > >

copying directories

2018-10-06 Thread Mark Brethen
When using copy on a directory I noticed that any links inside are copied instead of the linked file and so I end up with dead links after install. Is it acceptable to use System “cp …” during destroot, which does follow the link, in this case? Mark Brethen mark.bret...@gmail.com

Re: copying directories

2018-10-06 Thread Mark Brethen
Ah, but "cp -RL …” does. Mark Brethen mark.bret...@gmail.com > On Oct 6, 2018, at 10:53 AM, Ryan Schmidt wrote: > > > > On Oct 6, 2018, at 10:46, Mark Brethen wrote: > >> When using copy on a directory I noticed that any links inside are copied >> inst

qreduce

2018-10-06 Thread Mark Brethen
I’m working on a port qreduce-devel. This is a Qt-based worksheet GUI (written in python) for Reduce UNDER DEVELOPMENT. Would this be suited as a separate port or is it considered a sub-port of reduce? BTW the source is packaged with the reduce source. Mark Brethen mark.bret...@gmail.com

Re: qreduce

2018-10-06 Thread Mark Brethen
Reduce, libreduce and PySide are required to build and run qreduce. Can you override dependancies in a subport? Mark Brethen mark.bret...@gmail.com > On Oct 6, 2018, at 2:45 PM, Michael Dickens wrote: > > Hi Mark - Do they have the same basic description, dependencies, homepag

Re: qreduce

2018-10-06 Thread Mark Brethen
One advantage of the subport, it wouldn’t require fetching another copy of the 270+ mb source file, but I could use svn to fetch just the qreduce source. Mark Brethen mark.bret...@gmail.com > On Oct 6, 2018, at 3:14 PM, Michael Dickens wrote: > > You can do whatever you want in

build python source

2018-10-27 Thread Mark Brethen
RedPy using sys.path.append and supply the correct path to RedPy.so. I can patch this directly and supply the actual path. If I add Python group and set ‘python.add_archflags’ how should the source import this during build. Mark Brethen mark.bret...@gmail.com

Re: build python source

2018-10-28 Thread Mark Brethen
I’ll try to be more specific. This python source does not seem to set the build env. and I don’t see how the python port group will do that. I think the build command needs to set be to "./qreduce.py” and the library path set in “qrmodel.py”. Do I understand this correctly? Mark Br

Re: port select python and config error

2018-10-28 Thread Mark Brethen
I didn’t seem to matter. I tried both python27 and 36. Mark Brethen mark.bret...@gmail.com > On Oct 28, 2018, at 4:08 PM, Mark Brethen wrote: > > Quite by accident I have discovered a flaw with my libreduce port as regards > to "port select —set python". I had no

Re: port select python and config error

2018-10-28 Thread Mark Brethen
python27 python27-apple none python3python36 python36 none wxWidgets none wxWidgets-3.0 none <> Mark Brethen mark.bret...@gmail.com > On Oct 28, 2018, at 4:36 PM, Mark Brethen wrote: > > I didn’t seem to matter. I tried both python27 and 36. > > >

Re: port select python and config error

2018-10-28 Thread Mark Brethen
uild_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_Users_marbre_ports_math_reduce/libreduce/main.log for details. main.log Description: Binary data Mark Brethen mark.bret...@gmail.com &g

Re: port select python and config error

2018-10-28 Thread Mark Brethen
It looks to me that it failed because the source does not provide a ‘setup.py’ configuration file. Apple must provide a default setup. Mark Brethen mark.bret...@gmail.com > On Oct 28, 2018, at 4:50 PM, Mark Brethen wrote: > > brethen-air:~ marbre$ port select --summary > W

Re: port select python and config error

2018-10-28 Thread Mark Brethen
> On Oct 28, 2018, at 5:46 PM, Ryan Schmidt wrote: > > > > On Oct 28, 2018, at 16:50, Mark Brethen wrote: > >> brethen-air:~ marbre$ port select --summary >> Warning: port definitions are more than two weeks old, consider updating >> them by running '

Re: port select python and config error

2018-10-28 Thread Mark Brethen
Mark Brethenmark.bret...@gmail.com On Oct 28, 2018, at 5:46 PM, Ryan Schmidt wrote:setup.py is where a python project defines how it is to be set up. It's like a configure file. It's specific to each project. There isn't a default. Maybe for this software the configure

Re: port select python and config error

2018-10-28 Thread Mark Brethen
/Python.framework/Versions/2.7/include/python2.7 Mark Brethen mark.bret...@gmail.com > On Oct 28, 2018, at 6:23 PM, Mark Brethen wrote: > > > Mark Brethen > mark.bret...@gmail.com <mailto:mark.bret...@gmail.com> > > > >> On Oct 28, 2018, at 5:46 PM, Ryan Schmidt >

readme for python source

2018-11-04 Thread Mark Brethen
your Python workspace\ 2. Issue \"./qreduce.py\". " README Description: Binary data Mark Brethen mark.bret...@gmail.com

distfile version number

2018-11-08 Thread Mark Brethen
.14.1 then macports will fail to fetch the distfile. What’s the best way to handle this? Mark Brethen mark.bret...@gmail.com

OpenGL libraries

2018-11-12 Thread Mark Brethen
-build { build.args CC=${configure.cc} \ CXX=${configure.cxx} } Makefile Description: Binary data Mark Brethen mark.bret...@gmail.com

C error: Expected expression

2018-11-13 Thread Mark Brethen
info:build make: *** [../../glut-3.5/src/glut_ext.o] Error 1 what does this mean? here’s line 14-17 in glut_ext.c: /* CENTRY */ int APIENTRY glutExtensionSupported(const char *extension) { Mark Brethen mark.bret...@gmail.com

Re: C error: Expected expression

2018-11-13 Thread Mark Brethen
return 1; } } start = terminator; } return 0; } Perhaps a semicolon is needed? i.e. int APIENTRY; glutExtensionSupported(const char *extension) Mark Brethen mark.bret...@gmail.com > On Nov 13, 2018, at 8:11 AM, Joshua Root wrote: > > On 2018-11-14 00:48 , Ma

Re: C error: Expected expression

2018-11-13 Thread Mark Brethen
s of the OpenGL 3.2+ compatibility profiles, and * source code requiring it should use the traditional and * headers instead of . * * It is not possible to #include both and either of * or in the same source file. Do I need to patch the source and replace the GL includes with GL3? M

Re: C error: Expected expression

2018-11-13 Thread Mark Brethen
What are the differences between the gl/glu libs in /opt/X11and the OpenGL framework? I was successful in building calculix-cgx using /opt/X11 however the graphics are not displayed correctly in XQuartz. Mark Brethen mark.bret...@gmail.com > On Nov 13, 2018, at 11:52 AM, Mark Brethen wr

Re: OpenGL libraries

2018-11-14 Thread Mark Brethen
render any OpenGL graphics in XQuartz. Not sure what’s broke but there were some "function is deprecated …” statements in the build log. Mark Brethen mark.bret...@gmail.com > On Nov 14, 2018, at 8:08 PM, Ryan Schmidt wrote: > > > > On Nov 12, 2018, at 13:17, Mark Brethen

Re: OpenGL libraries

2018-11-15 Thread Mark Brethen
No runtime errors. Sent from my iPhone > On Nov 15, 2018, at 10:32 AM, wrote: > > > >> On Nov 14, 2018, at 8:33 PM, Mark Brethen wrote: >> >> I was able to build and install the program but it doesn’t render any OpenGL >> graphics in XQuartz. Not s

port to install SPOOLES library

2018-11-16 Thread Mark Brethen
spooles.a endif There’s probably an easy way to do this using the MPI portgroup. Can you suggest some ports to look at as an example? Mark Brethen mark.bret...@gmail.com

Re: port to install SPOOLES library

2018-11-16 Thread Mark Brethen
So is this port a good candidate for the mpi port group? If not then I’ll just whitelist a compiler if the mpi variant is chosen. Mark Brethen mark.bret...@gmail.com > On Nov 16, 2018, at 5:08 PM, Mark Brethen wrote: > > From the SPOOLES documentation: > > The SPOOLES libr

Re: port to install SPOOLES library

2018-11-17 Thread Mark Brethen
I’ve patched the Make.inc file. Does it look correct? Make.inc Description: Binary data Mark Brethen mark.bret...@gmail.com > On Nov 16, 2018, at 8:20 PM, Mark Brethen wrote: > > So is this port a good candidate for the mpi port group? If not then I’ll > just whitelist a com

passing ${build.cmd} to a makefile

2018-11-17 Thread Mark Brethen
Should a makefile that itself has other ‘make' commands be patched using ${build.cmd}. If so, how is it implemented? Same as patching ${prefix}? Mark Brethen mark.bret...@gmail.com

Re: port to install SPOOLES library

2018-11-17 Thread Mark Brethen
latter behavior. Is there a preference for macports build (i.e. merge them or build separate)? Mark Brethen mark.bret...@gmail.com > On Nov 17, 2018, at 9:37 AM, Mark Brethen wrote: > > I’ve patched the Make.inc file. Does it look correct? > > > Mark Brethen > m

convert a static library to a dynamic one?

2018-11-18 Thread Mark Brethen
failed How do I have to modify above command so I will get the desired result? Mark Brethen mark.bret...@gmail.com

Re: convert a static library to a dynamic one?

2018-11-18 Thread Mark Brethen
, not x86_64. Why am I getting the warning? Mark Brethen mark.bret...@gmail.com > On Nov 18, 2018, at 1:36 PM, Mark Brethen wrote: > > The spooles src creates a static ‘spooles.a’ library. I want to get a dynamic > library out of it. In BSD, for a .so library you would use: >

Re: convert a static library to a dynamic one?

2018-11-18 Thread Mark Brethen
This port does not have a configure phase and I set 'universal no’ It errors with ‘-arch ${configure.ld_archflags}’. How is this variable set? Mark Brethen mark.bret...@gmail.com > On Nov 18, 2018, at 4:16 PM, Joshua Root wrote: > > configure.ld_archflags

Re: convert a static library to a dynamic one?

2018-11-18 Thread Mark Brethen
‘build_arch’ worked perfect, thanks Josh! Mark Brethen mark.bret...@gmail.com > On Nov 18, 2018, at 4:34 PM, Mark Brethen wrote: > > This port does not have a configure phase and I set 'universal no’ It errors > with ‘-arch ${configure.ld_archflags}’. How is

reinplace

2018-11-18 Thread Mark Brethen
into separate reinplace statements? Mark Brethen mark.bret...@gmail.com

Re: convert a static library to a dynamic one?

2018-11-19 Thread Mark Brethen
Mach header magic cputype cpusubtype capsfiletype ncmds sizeofcmds flags MH_MAGIC_64 X86_64ALL 0x00 DYLIB11528 NOUNDEFS DYLDLINK TWOLEVEL NO_REEXPORTED_DYLIBS The dylib is actually quite small, ~4 KB, compared to the static library, 156 KB. Mark Br

altivec compiler

2018-11-23 Thread Mark Brethen
not familiar with it. Would the atlas port suffice for libBlas and libLapack? Mark Brethen mark.bret...@gmail.com

Re: altivec compiler

2018-11-23 Thread Mark Brethen
Version 2.2 was released September 4, 2003. I found a BSD port and trying their setup with a fortran compiler. Which port should I be using for blas and lapack? Arpack is currently installed on my system with variants +accelerate +gfortran +mpich only. Mark Brethen mark.bret...@gmail.com

Re: altivec compiler

2018-11-24 Thread Mark Brethen
I submitted a request: #57669 <https://trac.macports.org/ticket/57669> and noted where a current pkg for bsd can be found. So it may be doable. Mark Brethen mark.bret...@gmail.com > On Nov 23, 2018, at 12:00 PM, Ken Cunningham > wrote: > > If you provide a URL to the sof

Re: port to install SPOOLES library

2018-11-25 Thread Mark Brethen
lude path # # MPI_INCLUDE_DIR = - MPI_INCLUDE_DIR = -I$(MPI_INSTALL_DIR)/include + MPI_INCLUDE_DIR = -I$(MPI_INSTALL_DIR)/include/mpich-mp # #----- Mark Brethen mark.bret...@gmail.com > On Nov 25, 2018, at 2:11 AM, Ryan Schmidt wro

environment settings

2018-11-25 Thread Mark Brethen
I need to override the build and pass F77 as the linker. I tried build.args-append CC=${configure.cc} \ F77=${configure.f77} build.targetlib/${os.platform}${os.major}/libtaucs.a build { ui_info "Building libtaucs archives:" system -W ${worksrcpath} "${build.cmd} ${build.args} ${build.target}" } with 'FC= $(F77)’ in the Makefile, but that didn’t work. How should I pass this during build? Mark Brethen mark.bret...@gmail.com

Re: environment settings

2018-11-25 Thread Mark Brethen
Ryan Schmidt <ryandes...@macports.org> wrote: On Nov 25, 2018, at 09:13, Mark Brethen wrote: > (resent with correction) > > I’m using the compilers group with > > compilers.choose    cc f77 > compilers.setup     require_fortran > > below is the env settings: > > :

Re: environment settings

2018-11-25 Thread Mark Brethen
? main.log Description: Binary data Mark Brethen mark.bret...@gmail.com > On Nov 25, 2018, at 6:55 PM, Joshua Root wrote: > > On 2018-11-26 02:35 , Ryan Schmidt wrote: >> >> >> On Nov 25, 2018, at 09:13, Mark Brethen wrote: >> >>> build { >>>

Re: environment settings

2018-11-25 Thread Mark Brethen
Another oddity I noticed in the log is :info:build ld: warning: directory not found for option '-L/opt/local/var/macports/build/_Users_marbre_ports_math_taucs/taucs/work/taucs/lib/darwin16/' That’s a valid path! Mark Brethen mark.bret...@gmail.com > On Nov 25, 2018, at 7:15 PM,

Re: environment settings

2018-11-26 Thread Mark Brethen
) $(libtaucs_content) $(RANLIB) $(DIRLIB)libtaucs$(LIBEXT) Mark Brethen mark.bret...@gmail.com > On Nov 26, 2018, at 12:00 AM, Ryan Schmidt wrote: > > > > On Nov 25, 2018, at 19:15, Mark Brethen wrote: > >> I used placeholders in the makefile then passed t

Re: environment settings

2018-11-26 Thread Mark Brethen
39 PICFLAG?= -fPIC 40 .else 41 PICFLAG?= -fpic 42 .endif bins:lib builds the executables defined as BINS?= direct iter taucs_run I don’t know how to do all this with macports default build. Mark Brethen mark.bret...@gmail.com > On Nov 25, 2018,

Re: environment settings

2018-11-26 Thread Mark Brethen
> On Nov 26, 2018, at 10:39 AM, Ryan Schmidt wrote: > > For example, I see here that they make a copy of the configured source > directory so that they can build libtaucs.a "normally" in the first directory > and then with position-independent code in the second directory so that a > shared

Re: environment settings

2018-11-26 Thread Mark Brethen
set a nonexistent directory using OBJDIR with BSD make. Gnu make does not have this option, does it? It seems rediculus to have to build the library each time. Can I issue these with ‘system', omitting the library object? Mark Brethen mark.bret...@gmail.com > On Nov 26, 2018, at 11:

Re: environment settings

2018-11-27 Thread Mark Brethen
copy darwin.mk to > another name. > > Re-added -faltivec on PowerPC, since the patching of darwin.mk removed it; > haven't tested if this actually works on PowerPC or if it maybe still needs > vecLib. > > Added a destroot phase. > > Probably other changes I&#x

Re: environment settings

2018-11-27 Thread Mark Brethen
r:build Failed to build taucs: command execution failed :debug:build Error code: CHILDSTATUS 19021 2 f2c should be added as a dependency. Mark Brethen mark.bret...@gmail.com > On Nov 27, 2018, at 6:16 PM, Ryan Schmidt wrote: > > > > On Nov 27, 2018, at 16:58, Mark Bret

[MacPorts] #57693: spooles: new port

2018-11-28 Thread Mark Brethen
I posted a portfile and patch for spooles. https://trac.macports.org/ticket/57693 <https://trac.macports.org/ticket/57693> This is also based on a bsd port. Mark Brethen mark.bret...@gmail.com

extract gzip files

2018-11-30 Thread Mark Brethen
For *.gz files (no tar), what’s the proper way to extract them to extract_dir? Mark Brethen mark.bret...@gmail.com

Re: extract gzip files

2018-11-30 Thread Mark Brethen
I can override the extract phase and use a foreach block with something like this: STEM=$(basename "${f}" .gz) gzip -c "${f}” >${extract_dir}/"${STEM}” Mark Brethen mark.bret...@gmail.com > On Nov 30, 2018, at 8:13 AM, Mark Brethen wrote: > > For *.gz f

Re: extract gzip files

2018-11-30 Thread Mark Brethen
system -W ${distpath} "gunzip -c ${f} > ${workpath}/${stem}" } } have to provide the extracted filename. Mark Brethen mark.bret...@gmail.com > On Nov 30, 2018, at 8:43 AM, Mark Brethen wrote: > > I can override the extract phase and use a foreach block wit

shared library

2018-12-01 Thread Mark Brethen
anlib ../../spooles.a Don't the objects need to be compiled with the -dynamic flag? Mark Brethen mark.bret...@gmail.com

Re: shared library

2018-12-01 Thread Mark Brethen
Needed to use $(CC) to create the dylib. I posted update portfile and patch for ticket #57693 <https://trac.macports.org/ticket/57693>. Mark Brethen mark.bret...@gmail.com > On Dec 1, 2018, at 1:13 PM, Mark Brethen wrote: > > Spooles does not have config files, so I’m passing

Re: extract gzip files

2018-12-02 Thread Mark Brethen
oot { xinstall -d ${destroot}${prefix}/share/doc/${name} foreach f ${distfiles} { set stem [file rootname [file tail ${f}]] system -W ${distpath} "gunzip -c ${f} > ${destroot}${prefix}/share/doc/${name}//${stem}" } } Mark Brethen mark.bret...@gmail.c

Re: extract gzip files

2018-12-02 Thread Mark Brethen
[file tail ${f}]] system -W ${workpath} "gunzip -c ${f} > ${destroot}${prefix}/share/doc/${name}/${stem}" } } Preference? Mark Brethen mark.bret...@gmail.com > On Dec 2, 2018, at 2:32 PM, Mark Brethen wrote: > > Abiword used this solution: > >

calculix-ccx fails to build

2018-12-02 Thread Mark Brethen
US 5530 2 see attached Makefile. Makefile Description: Binary data Portfile Description: Binary data Mark Brethen mark.bret...@gmail.com

Re: calculix-ccx fails to build

2018-12-02 Thread Mark Brethen
inux/libmetis.a \" to LIBS Notice that you only need lapack, blas and metis if you want to install TAUCS. Look at file tau.c and the documentation of TAUCS for details. tau.c Description: Binary data Mark Brethen mark.bret...@gmail.com > On Dec 3, 2018, at 12:44 AM, Mark B

Re: calculix-ccx fails to build

2018-12-03 Thread Mark Brethen
I have issued a ticket #57715 <https://trac.macports.org/ticket/57715> requesting help. I have not been able to determine why it’s not finding the libraries. Mark Brethen mark.bret...@gmail.com > On Dec 3, 2018, at 7:15 AM, Chris Jones wrote: > > Please use trac to report

calculix

2018-12-10 Thread Mark Brethen
I’m working on a new port for an FEA pre/post processor called calculix. I built it on Sierra and the OpenGL graphics don’t appear to be working in Quartz. I would appreciate it if someone would take a look at my setup. <> Thanks, Mark Brethen mark.bret...@gmail.com

Re: calculix

2018-12-11 Thread Mark Brethen
un. OpenGL isn't working for some reason. If someone with OpenGL experience could take a look at it, that would be great. Mark Brethen mark.bret...@gmail.com > On Dec 11, 2018, at 12:21 AM, Mojca Miklavec wrote: > > Dear Mark, > > On Tue, 11 Dec 2018 at 00:17, Mark Bret

multiple makefiles

2018-12-16 Thread Mark Brethen
Is it possible to build a makefile in multiple directories without overriding the build phase, for example from ${worksrcdir} make src/Makefile um/Makefile with build.cmd? Mark Brethen mark.bret...@gmail.com

python run depency

2018-12-22 Thread Mark Brethen
If a port installs a python script executable, is it necessary to have a run dependency for python? Mark Brethen mark.bret...@gmail.com

OpenGL and X11

2019-08-29 Thread Mark Brethen
-lXi -lXmu -lXext -lXt -lSM -lICE \ - -lm -lpthread -lrt + -framework OpenGL -framework GLUT \ + -lX11 -lXi -lXmu -lXext -lXt -lSM -lICE \ + -lm -lpthread This seems to work but I’m not sure it's proper. Mark Brethen mark.bret...@gmail.com

Re: OpenGL and X11

2019-08-30 Thread Mark Brethen
stick with using Apple’s framework OpenGL and GLUT. Mark Brethen mark.bret...@gmail.com > On Aug 29, 2019, at 7:32 PM, Mark Brethen wrote: > > I'm using macports to install OpenGL (mesa) since High Sierra does not have > the X11 parts of it. In the Makefile there are includes

Gitlab

2020-02-16 Thread Mark Brethen
How would you set up a portfile to fetch from gitlab? Example: https://gitlab.com/DavidGriffith/frotz <https://gitlab.com/DavidGriffith/frotz> Mark Brethen mark.bret...@gmail.com

Frotz Makefile

2020-02-16 Thread Mark Brethen
this out and set it with the portfile? Mark Brethen mark.bret...@gmail.com

frotz patch

2020-02-17 Thread Mark Brethen
The frotz port includes a couple of patches: patch-src-common-main.c patch-src-common-process.c these change 'init_process ()’ to 'frotz_init_process ()’ Is this necessary/desirable? Mark Brethen mark.bret...@gmail.com

port group cxx11

2022-06-25 Thread Mark Brethen
I’m revising a local portfile of mine that used the port group cxx11 — which has been removed (port version 2.7.2). Is there another group I should be using? Thanks, Mark Brethen mark.bret...@gmail.com

Frotz build targets

2022-06-26 Thread Mark Brethen
install_#{target}", *args end end Mark Brethen mark.bret...@gmail.com

Re: Frotz build targets

2022-06-26 Thread Mark Brethen
Attaching a Portfile that uses variants—downside is you can only install one. Maybe that is sufficient? I couldn’t find any documentation for using subports. Portfile Description: Binary data Mark Brethen mark.bret...@gmail.com > On Jun 26, 2022, at 5:01 PM, Ryan Schmidt wrote: >

Re: Frotz build targets

2022-06-26 Thread Mark Brethen
I’ll do that. It’s been so long that I’ve forgotten how they’re set up. Mark Brethen mark.bret...@gmail.com > On Jun 26, 2022, at 8:56 PM, Ryan Schmidt wrote: > > On Jun 26, 2022, at 17:39, Mark Brethen wrote: >> >> Attaching a Portfile that uses variants—downside is

  1   2   3   >