Opened 19 years ago

Closed 19 years ago

#6088 closed defect (fixed)

UPDATE: bazaar: use depends_lib correctly

Reported by: josh_root@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

This patch fixes the incorrect multiple depends_lib lines, and also adds more hashes for those who don't trust md5. I *think* the dependencies should be found correctly now, please correct if I'm wrong. :)

--- /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/bazaar/Portfile

2005-09-26 06:15:25.000000000 +1000

+++ ./Portfile 2005-12-15 14:38:40.000000000 +1100 @@ -18,7 +18,9 @@

homepage http://bazaar.canonical.com/

master_sites http://bazaar.canonical.com/releases/src/

-checksums md5 6e61d7aeec990a801977ee6cdc3958d5 +checksums md5 6e61d7aeec990a801977ee6cdc3958d5 \ + sha1 030fcf1d2de6392c6ab3c23d7af1fddbbeb65a73 \ + rmd160 8a9d8159ead224b24ab84d0fd6cbc23ac004eb51

configure.env CFLAGS="-I'${prefix}/include' -L'${prefix}/lib'" configure.dir ${workpath}/thelove@….4/build

@@ -40,14 +42,13 @@

file rename ${destroot}${prefix}/bin/annotate

${destroot}${prefix}/bin/annotate-baz

}

+depends_lib lib:libneon:neon lib:libgpgme:gpgme

variant darwin {

if {${os.version} < 8} {

  • depends_lib bin:gdiff:diffutils
  • depends_lib bin:gpatch:gpatch
  • depends_lib bin:gnutar:gnutar

+ depends_lib bin:gdiff:diffutils bin:gpatch:gpatch \ + bin:gnutar:gnutar lib:libneon:neon \ + lib:libgpgme:gpgme

configure.args-append --with-gnu-diff=${prefix}/bin/gdiff \

--with-gnu-diff3=${prefix}/bin/gdiff3

}

  • depends_lib lib:libneon:neon
  • depends_lib lib:libgpgme:gpgme }

Attachments (1)

pf.diff (832 bytes) - added by blb@… 19 years ago.
Suggested dependency technique

Download all attachments as: .zip

Change History (3)

Changed 19 years ago by blb@…

Attachment: pf.diff added

Suggested dependency technique

comment:1 Changed 19 years ago by josh_root@…

Thanks, I didn't know about depends_lib-append. Let's do it that way then. :)

comment:2 Changed 19 years ago by blb@…

Resolution: fixed
Status: newclosed

Updates have been committed, thanks for the work.

Note: See TracTickets for help on using tickets.