Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#15038 closed defect (fixed)

netcat uses deprecated cd command

Reported by: jmroot (Joshua Root) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: opendarwin.org@…
Port:

Description

Attached patch fixes this, plus uses Tcl commands instead of system, and use_configure no instead of configure {} (so +universal correctly fails).

Attachments (1)

netcat-cd.diff (1.3 KB) - added by jmroot (Joshua Root) 17 years ago.

Download all attachments as: .zip

Change History (4)

Changed 17 years ago by jmroot (Joshua Root)

Attachment: netcat-cd.diff added

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

No response from maintainer in > 72 hours so I'll take care of this now.

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

I applied the patch but changed it a lot too:

  • Removed the slash between ${destroot} and ${prefix} since ${prefix} already begins with a slash
  • Removed the destroot-time creation of ${destroot}${prefix}/bin since MacPorts already takes care of this
  • Removed the pre-extract and extract.dir stuff and replace it with the simple new option extract.mkdir yes
  • Removed the -c argument to xinstall since it is the default anyway
  • Used the -W option to xinstall

Committed in r36324. Thanks!

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.