Fwd: Re: Fwd: New Port: Security/liblurch & Security/Pidgin-lurch

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Fri, 26 Aug 2022 08:26:45 UTC
Forgot to send the reply to the list.
 
Van: Ronald Klop <ronald-lists@klop.ws>
Datum: vrijdag, 26 augustus 2022 10:12
Aan: "Michael A. Oshin" <micadeyeye@gmail.com>
Onderwerp: Re: Fwd: New Port: Security/liblurch & Security/Pidgin-lurch
> 
> Mmm, lets take another look at it.
> 
> From /usr/ports/Mk/bsd.ports.mk:
> 
> "# Set these variables if your port doesn't need some of the steps.
> # Note that there are no NO_PATCH or NO_CONFIGURE variables because
> # those steps are empty by default.  NO_EXTRACT is not allowed anymore
> # since we need to at least create ${WRKDIR}.  Also, NO_CHECKSUM is a user
> # variable and is not to be set in a port's Makefile.  See above for NO_PACKAGE.
> #
> # NO_BUILD      - Use a dummy (do-nothing) build target.
> # NO_INSTALL    - Use a dummy (do-nothing) install target.
> # NO_TEST       - Use a dummy (do-nothing) test target."
> 
> Oh, lets take a look at your Makefile.
> You have "GNU_CONFIGURE= yes" defined. That is why it tries to run configure.
> Remove that line and try again.
> 
> See also the link I posted in the previous reply:
> "If HAS_CONFIGURE or GNU_CONFIGURE is set, WRKSRC/configure is run."
> 
> Regards,
> Ronald.
> 
>  
> Van: "Michael A. Oshin" <micadeyeye@gmail.com>
> Datum: vrijdag, 26 augustus 2022 08:55
> Aan: Ronald Klop <ronald-lists@klop.ws>
> Onderwerp: Re: Fwd: New Port: Security/liblurch & Security/Pidgin-lurch
>> 
>> HAS_CONFIGURE=off in Makefile did not work. A blank configure file in dir did not either. I have not seen one in pkg dirs though.
>>  
>> On Fri, 26 Aug 2022 at 13:19, Ronald Klop <ronald-lists@klop.ws> wrote:
>>> 
>>> Does this work?
>>>  
>>> HAS_CONFIGURE=off
>>> 
>>> https://docs.freebsd.org/en/books/porters-handbook/slow-porting/#slow-work
>>>  
>>> Van: "Michael A. Oshin" <micadeyeye@gmail.com>
>>> Datum: 26 augustus 2022 05:37
>>> Aan: freebsd-ports@freebsd.org
>>> Onderwerp: Fwd: New Port: Security/liblurch & Security/Pidgin-lurch
>>>> 
>>>> Good Morning folks,
>>>> 
>>>> I made a few changes to the liblurch Makefile. It now points to the developer's github for the pkg. See https://github.com/micadeyeye/freebsd-ports/blob/master/security/liblurch/Makefile.
>>>> 
>>>> One problem I have with the liblurch is that it wants to run '.configure'. See the below:
>>>> 
>>>> ______________________
>>>> make -C /usr/local/opt/github/freebsd-ports/security/liblurch/ install clean
>>>> ===>   liblurch-0.7.0 depends on package: gmake>=4.3 - found
>>>> ===>   liblurch-0.7.0 depends on package: pkgconf>=1.3.0_1 - found
>>>> ===>   liblurch-0.7.0 depends on file: /usr/local/bin/ccache - found
>>>> ===>   liblurch-0.7.0 depends on shared library: libmxml.so - found (/usr/local/lib/libmxml.so)
>>>> ===>   liblurch-0.7.0 depends on shared library: libpurple.so - found (/usr/local/lib/libpurple.so)
>>>> ===>  Configuring for liblurch-0.7.0
>>>> env: ./configure: No such file or directory
>>>> ===>  Script "configure" failed unexpectedly.
>>>> Please report the problem to micadeyeye@gmail.com [maintainer] and attach the
>>>> "/usr/local/opt/github/freebsd-ports/security/liblurch/work/lurch-0.7.0-src/config.log"
>>>> including the output of the failure of your make command. Also, it might be
>>>> a good idea to provide an overview of all packages installed on your system
>>>> (e.g. a /usr/local/sbin/pkg-static info -g -Ea).
>>>> *** Error code 1
>>>> 
>>>> Stop.
>>>> make: stopped in /usr/local/opt/github/freebsd-ports/security/liblurch/
>>>> _________________________________
>>>> 
>>>> What it should do is ONLY run 'gmake install'. Please show me how to replace the process  "===>  Configuring for liblurch-0.7.0
>>>> env: ./configure: No such file or directory" with the "gmake install".
>>>> 
>>>> On the other hand, please note that the pidgin-lurch (https://github.com/micadeyeye/freebsd-ports/blob/master/security/pidgin-lurch/Makefile) is the UI modification to Pidgin, and currently, I have only copied the OTR UI with no modifications yet to its source code. I need a lot of assistance here.
>>> 
>>> 
>>>  
>> 
>