[MacPorts] #69112: libpaper-utils uses rpath instead of the absolute path and installs a broken paperconf binary

MacPorts noreply at macports.org
Tue Jan 16 07:40:52 UTC 2024


#69112: libpaper-utils uses rpath instead of the absolute path and installs a
broken paperconf binary
-----------------------------+--------------------
  Reporter:  barracuda156    |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.8.1
Resolution:                  |   Keywords:
      Port:  libpaper-utils  |
-----------------------------+--------------------

Comment (by kencu):

 this fixes it but it's very ugly:
 {{{
 diff --git a/print/libpaper/Portfile b/print/libpaper/Portfile
 index 36268f5ba27..b9760388537 100644
 --- a/print/libpaper/Portfile
 +++ b/print/libpaper/Portfile
 @@ -39,10 +39,11 @@ subport libpaper-utils {
      license           GPL-3+ GPL-2
  }

 -configure.args  --enable-relocatable \
 -                --disable-silent-rules
 -
  if {${subport} eq ${name}} {
 +
 +    configure.args  --enable-relocatable \
 +                    --disable-silent-rules
 +
      test.run     yes
      test.target  check

 @@ -58,6 +59,11 @@ if {${subport} eq ${name}} {
          delete "${destroot}${prefix}/share/man/man1"
      }
  } else {
 +
 +    revision        1
 +
 +    configure.args  --disable-silent-rules
 +
      depends_lib-append  port:libpaper

      post-destroot {
 ~
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69112#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list