Hi,

I am not very familiar with rexx, but after looking at the existing port, I 
think that the patch-configure.diff included in this port needs to be updated 
match the current configure script in rexx version 3.9.6 so that the libraries 
can be found after the port is installed.  I think the relevant lines that need 
to be changed in the current configure script are around 9292 and 9301.  

Also, two other minor observations about your proposed patch:

1. I could be wrong about this, but my understanding is that when the version 
of a particular program changes (for example, here you are changing rexx’s 
version is change from 3.9.1 to 3.9.6), the revision should be changed back to 
0 (I think you are incrementing it to 2).

2. The size of the distribution file should probably be added after the sha256 
checksum.

In addition, I am not sure why you commented out the configure.args in the 
portfile.  That may need to be restored.

I had a few minutes so I made these changes to your proposed patch and rexx 
version 3.9.6 seemed to build and work for me.  I submitted a pull request that 
hopefully will get incorporated:

https://github.com/macports/macports-ports/pull/27095

Best,

-ranga

> On Dec 15, 2024, at 1:42 PM, [email protected] wrote:
> 
> Any advice as to what needs to be set in order for a port (in this case rexx) 
> to find its libraries?
> Regina-rexx is at 3.9.6 and the macports version is at 3.9.1.  I downloaded 
> the new source and compiled it off macports, it compiles and runs w/o any 
> patches. I then followed the macports guidance to update a port (see attached 
> diff). It compiles and installs but it declares it “broken” do to the 
> libraries not found which is kind of strange (at least to me). I’m still 
> trying to learn the macports “process” so very likely I missed the memo…any 
> advice/pointers welcome.
> <Portfile-rexx.diff>

Reply via email to